Category: Selenium

How to Download & Install Selenium WebDriver.

Table of Contents Selenium installation is a 3 steps process:  Step 1 – Install Java on your workstation. Step 2 – Install Eclipse IDE. Step 3 – Download the Selenium Java Client Driver. Step 4 – Configure Eclipse IDE with WebDriver. Different Selenium Drivers Selenium installation is a 3 steps process:  1. Install Java SDK.2. […]

Waits in Selenium

Table of Contents What is Wait command in Selenium? Why do we need waits in Selenium? Types of Waits Implicit wait in Selenium Explicit wait in Selenium Difference between Implicit and Explicit wait. Fluent Wait in Selenium Scenario where we can use fluent wait in selenium web driver: Code for Fluent Wait: What is Wait […]

Locators in Selenium

Table of Contents 1. What are locators in Selenium? 2. How to locate a web element in DOM? 3. Types of Locators in Selenium 3.0.1 Id Locator 3.0.2 Name Locator 3.0.3 linkText Locator 3.0.4 className Selectors 3.0.5 CSS Selector 3.0.6 Tag and ID 3.0.7 Tag and Class 3.0.8 Tag, Class, and attribute 4. Locating Elements […]

Web Driver Manager

Table of Contents 1 Why  Web Driver Manager? 1.0.1 Error if the path is not set correctly: 2 What is web driver manager in Selenium? 2.0.2 Maven Dependency for WebDriverManager 2.0.3 Gradle Project for WebDriverManager: 2.0.4 Chrome Code Snippet for WebDriverManager: 2.0.5 FireFox Code Snippet for WebDriverManager: 2.0.6 Driver Manager setup commands for various browsers: […]