All Questions

399
votes
49answers
405234 views

Take a screenshot with Selenium WebDriver

Does anyone know if it's possible to take a screenshot using Selenium WebDriver? (Note: Not Selenium RC)
233
votes
41answers
250031 views

Debugging "Element is not clickable at point" error

I see this only in Chrome. The full error message reads: "org.openqa.selenium.WebDriverException: Element is not clickable at point (411, 675). Other element would receive the click: ..." The e...
36
votes
5answers
102082 views

How to handle authentication popup with Selenium WebDriver using Java

I'm trying to handle authentication popup using the code below: FirefoxProfile profile = new FirefoxProfile(); profile.setPreference("network.http.phishy-userpass-length", 255); profile.setPreference...
71
votes
22answers
145940 views

How to open a new tab using Selenium WebDriver with Java?

How to open a new tab in the existing Firefox browser using Selenium WebDriver (a.k.a. Selenium 2)?
175
votes
44answers
321689 views

Wait for page load in Selenium

How do you make Selenium 2.0 wait for the page to load?
137
votes
6answers
157476 views

Is there a way to get element by XPath using JavaScript in Selenium WebDriver?

I am looking for something like: getElementByXpath(//html[1]/body[1]/div[1]).innerHTML I need to get the innerHTML of elements using JS (to use that in Selenium WebDriver/Java, since WebDriver can'...
45
votes
1answers
43365 views

selenium with scrapy for dynamic page

I'm trying to scrape product information from a webpage, using scrapy. My to-be-scraped webpage looks like this: starts with a product_list page with 10 products a click on "next" button loads the ...
102
votes
15answers
93848 views

Selenium 2.53 not working on Firefox 47

I am getting error while using Firefox with WebDriver. org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox version:47.0 Sele...
41
votes
15answers
150680 views

Switch tabs using Selenium WebDriver with Java

Using Selenium WebDriver with JAVA , I am trying to automate a functionality where I have to open a new tab do some operations there and come back to previous tab (Parent). I used switch handle but it...
29
votes
7answers
136564 views

How to switch between frames in Selenium WebDriver using Java

I am using java with WebDriver.I have to switch between two frames. I have recorded the test case in selenium IDE and in that I got the values as selectFrame relative=top select Frame=middle Frame Bu...

Previous Next