✅ 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.
✅ Different locators in Selenium
By CSS ID
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
ID,CLASS,TagName
--
Be sure to subscribe for more videos like this!
Top comments (0)