Category: Selenium

Fluent Wait in Selenium

Fluent wait in selenium is one type of explicit wait in which selenium script will wait for maximum wait time until the expected condition satisfied…

Read More

Waits in Selenium

In Previous tutorial, we have discussed on the structure dependency in Locating strategy. Now we will discuss how to implement waits in Selenium. Before going…

Read More

Maximize and Minimized the browser

In this section, we will discuss how to maximize and minimize the browser in selenium. When you call driver.get(“URL”), this will open the default browser…

Read More

XPath in Selenium

In the previous tutorials, we have discussed on the locators available in Selenium. Sometimes all these locators are not enough to locate the Web Element…

Read More

Locating strategy by XPath

XPath is the standard for navigation tool for XML. We know that HTML is an XML document (xHTML). So you can use XPath to locate…

Read More

Locating strategy by CSS Selector

CSS Selector is the most popular locator strategy. Because this can be traversed through attribute and structure of the web page and also this is…

Read More

Locating strategy by Class name

Class Name is the attribute of the HTML tag. This is generally noted by .(dot). You can locate web element by searching the class name….

Read More

Locating strategy by Tag Name

What is Tag? Yes. Tag is the formatting command of the Web Page. This is the heart of the HTML page design. HTML tags include…

Read More

Locating strategy by Partial Link Text

Same as previous section, locating strategy by Link Text, Partial Link Text also deals with the Text if the link. But only difference is this…

Read More

Locating strategy by Link Text

Another important locating strategy of selenium is Link Text. See the below code. Example: driver.findElement(By.linkText(“Link of the element”)) By this method you can search an…

Read More