Cover image for Ultimate Guide Locators in Selenium WebDriver.

Ultimate Guide Locators in Selenium WebDriver.

promode profile image Pramod Dutta ・1 min read

✅ Join us - https://sendfox.com/thetestingacademy

In this video, We are discussing about Locators in Selenium WebDriver : Ultimate Guide.

✅ What are Locators in Selenium?
A locator enables testers to select an HTML DOM element to act on
Using Locators Selenium Finds elements in HTML Page and return that web element or elements.
WebDriver represents the browser.
WebElement represents a particular DOM node.

Locators in Selenium

✅ Different locators in Selenium
By CSS class name
By link text
By partial link text
By xPath or DOM structure
By name attribute
By HTML tag name

✅ What is a CSS Selector?
CSS Selector combines an element selector and a selector value that can identify particular elements on a web page


markdown guide