Top "Webdriver" questions

WebDriver is an API for controlling web browsers, imitating a real user.

selenium get current url after loading a page

I'm using Selenium Webdriver in Java. I want to get the current url after clicking the "next" button to move …

java selenium webdriver paging
How to get selected option using Selenium WebDriver with Java

I want to get the selected label or value of a drop down using Selenium WebDriver and then print it …

java selenium selenium-webdriver webdriver junit4
How can I get the current contents of an element in webdriver

I must be thinking about this wrong. I want to get the contents of an element, in this case a …

python selenium webdriver
Selenium Finding elements by class name in python

How can I filter elements which having a same class? <html> <body> <p class="content"&…

python selenium selenium-webdriver webdriver classname
Locating child nodes of WebElements in selenium

I am using selenium to test my web application and I can successfully find tags using By.xpath. However now …

java selenium xpath webdriver
Random "Element is no longer attached to the DOM" StaleElementReferenceException

I'm hoping it's just me, but Selenium Webdriver seems like a complete nightmare. The Chrome webdriver is currently unusable, and …

java selenium-webdriver webdriver automated-tests
How to switch to new window in Selenium for Python?

I am working on selenium automation project using Python. I am facing an issue, which is handling multiple browser windows. …

python selenium onclick webdriver ui-automation
CSS selector (id contains part of text)

I have a question. I have elements something like this: <a> element with id = someGenerated Some:Same:0:name &…

css css-selectors webdriver
How do I setup the InternetExplorerDriver so it works

I am using WebDriver and I have downloaded the InternetExplorerDriver and was wondering what I do with it after it …

java eclipse selenium webdriver testng
What is the difference between cssSelector & Xpath and which is better with respect to performance for cross browser testing?

I am working with the Selenium WebDriver 2.25.0 on multilingual web application & mainly test the page content (For different languages …

selenium selenium-webdriver xpath css-selectors webdriver