Selenium Knowledgebase

Title Language Preview Date Posted
How do I find an element that contains specific text in Selenium Webdriver (Java)? Java

To locate an element, you need to find the element based on its XPath as you can specify the text

04/05/2021
How to select an option from drop down using Selenium WebDriver C#? C#

To select an option from a drop-down menu in C#, you can find the element directly using its XPat

29/04/2021
How to select a drop-down menu value with Selenium using Python? Python

29/04/2021
WebDriver - wait for element using Java Java

In order to explicitly wait until an element is visible or clickable, the most direct and simple

27/04/2021
How to switch to the new browser window, which opens after click on the button? (Java) Java

In order to change focus to a newly opened tab or window, use window handles as shown in the foll

27/04/2021
Python Selenium accessing HTML source Python

In order to interact with the entire page source in Python, you need to use the page_source prope

27/04/2021
How can I ask the Selenium-WebDriver to wait for few seconds in Java? Java

To tell the Selenium WebDriver to wait for a specified amount of time use Thread.sleep

27/04/2021
Getting the return value of Javascript code in Selenium (Java) Java

In order to return values from Javascript code, you need to execute your chosen Javascript code u

27/04/2021
Execute JavaScript using Selenium WebDriver in C# C#

The following script shows how to use IJavaScriptExecutor, C#'s version of Java's JavascriptExecu

27/04/2021
How to open a new tab using Selenium WebDriver? (Java) Java

The following code shows how to open a link in a new tab using Keys.chord(...) in the first test

27/04/2021
Using Selenium Web Driver to retrieve value of a HTML input (Java) Java

To get the text entered into an input element, use element.getAttribute("value") where element is

27/04/2021
How to perform mouseover function in Selenium WebDriver using Java? Java

To mouse over elements, you need to use the Actions class to build and perform the MoveToElement

27/04/2021

Pages