Selenium Knowledgebase

Title Language Preview Date Posted
How to switch to the new browser window, which opens after click on the button? (Python) Python

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

17/02/2022
Implicit, Explicit and Fluent Waits (Python) Python

There are three ways of waiting for elements: explicit wait, implicit wa

15/02/2022
How can I ask the Selenium-WebDriver to wait for few seconds? (Python) Python

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

15/02/2022
Implicit, Explicit and Fluent Waits (Java) Java

There are three ways of waiting for elements: explicit wait, implicit wa

15/02/2022
Getting the return value of Javascript code in Selenium (Python) Python

Python's WebDriver comes with the ability to execute JavaScript code out of the box.

15/02/2022
Execute JavaScript using Selenium WebDriver (Python) Python

Unlike the Java WebDriver the Python WebDriver has the ability to execute Javascript built in by

14/02/2022
How to open a new tab using Selenium WebDriver? (Python) Python

The following code shows how to open a link in a new tab using the Keys library

11/02/2022
Using Selenium Web Driver to retrieve value of a HTML input (Python) Python

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

10/02/2022
CSS Selectors vs XPath General

Advantages Of XPath

30/09/2021
CSS Selectors Simply Explained General

30/09/2021
XPath Explained Simply General

30/09/2021
Handling checkboxes in Selenium General

Checkboxes usually have some identifier to tell if they are checked or not.

02/08/2021

Pages