How to set chromedriver for Selenium Grid?

I'm learning Selenium in Java and I have been struggiling with the following problem. I try to launch the test in HUB and receive the following error. Code: package selenium; import java.io.File; import java.net.MalformedURLException; import java....
more »

2017-10-30 11:10 (1) Answers

Selenium Python - how to send keys to webform

I am trying to fill out a webform using selenium. Although I am able to successfully populate most text boxes and select radio buttons, I am receiving the below exception when attempting to send keys to the three [date of birth] fields (day, month a...
more »

2017-10-24 12:10 (2) Answers

Save As Dialog on Iexplorer How to save htm file

I am trying to save html file using webriver from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.common.keys import Keys driver = webdriver.Ie("D:\\IEDriver\\IEDriverServer.exe") ...
more »

2017-10-21 00:10 (1) Answers

Uploading files using Selenium in C#?

I am trying to click on button Upload completed form, through selenium using XPath, however this does not do anything with its XPath, I was wondering if anyone had any suggested answers? Below is the HTML from inspecting Chrome. <button ng-if=...
more »

2017-10-19 15:10 (1) Answers

Selenium Python - How to handle a random pop up?

For the past few months, I have been using Selenium to automate a very boring but essential part of my job which involves uploading forms. Recently, the site has implemented a feed back survey which randomly pops up and switches the driver to a new ...
more »

2017-10-16 20:10 (2) Answers

selenium webdriver xpath InvalidSelectorError

I am new to selenium and I really have hard times here with dynamic buttons. I am writing selenium webdriver js scripts I searched on stackoverflow and found few pages with similar errors posted but none of them solved my problems Since there is no...
more »

2017-10-15 17:10 (2) Answers

Use Currently Saved Cookies in Watir Webdriver

Is it possible to use currently saved cookies in Watir Webdriver when launching Chrome? I set my chrome to "remember me" when login to facebook so that the next time I access facebook, I don't have to type the username and password again. But, when ...
more »

2017-09-26 07:09 (1) Answers

Reading paged datagrids in Selenium Webdriver

I keep getting this exception in Selenium ... OpenQA.Selenium.StaleElementReferenceException: 'stale element reference: element is not attached to the page document (Session info: chrome=60.0.3112.113) (Driver info: chromedriver=2.32.4985...
more »

2017-09-25 23:09 (3) Answers

I got Fixnum is deprecated when I ran Ruby project

When I run my project, i got these warning. Do you have any idea about that? Thanks It has more than 100 rows, i just added one. C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/watir-webdriver-0.9.9/lib/watir-webdriver/elements/html_elements.rb:17: warning...
more »

2017-09-20 21:09 (1) Answers