Custom wait function

custom wait selenium

Below is a custom function in which we pass the xpath of the element we want to click as xpathExpTa ... Read More

Mouse movements in selenium

mouse moverments selenium

In this section we will see how to control the movement of mouse i.e how to move the mouse over a pa ... Read More

Multiple elements on a webpage with same xpath

multiple elements selenium

We can find multiple webelements on a webpage and save them in a list of webelements like this ``` ... Read More

Handling alerts in selenium

alerts selenium

Alerts don’t have any xpath in selenium.We can switch to an alert using the below command. ``` A ... Read More

Implicit wait

implicit wait selenium

We can pause a program for 10 secs by using below line of code ``` Thread.sleep(10000); ``` A ... Read More

Explicit wait in Selenium

explicit wait selenium

Implicit wait does not work in cases where elements is present on the page but is not get intractabl ... Read More

Differences Between Selenium and Qtp

Selenium

Difference between and Qtp. Selenium is a free tool while qtp or latest version uft is a based tool ... Read More

Mulitple windows in selenium

multiple window selenium

When we create a new driver object a new browser window opens.This window has a window id. If we ... Read More

Handling list of elements in selenium

webelements list selenium

There are 3 ways to select a list of web elements 1.First method is to first select the outer box a ... Read More

Finding all elements inside a box element in selenium

Elements in box element selenium

We can also choose the xpath of an outbox and extract all links inside that box like the below examp ... Read More