Selenium Webdriver Locators II Types of Locators in Webdriver II Selenium 4 II Automation

Опубликовано: 19 Апрель 2026
на канале: Knowledge Share
177
5

In this session you will learn about what are web locators and elements and different types of locators used for automation


Locators
Locator is a command that tells Selenium which GUI element to interact with
GUI Elements are Textboxes, buttons, radio buttons, checkboxes, dropdowns, links, ect., ON WEB PAGES

What is HTML Structure –
Hypertext Mark-up language that is used to create WebPages, pages are rendered in the browser based on the tags defined in the html document // DOM ( Document Object Model )

Types of Locators–

ID
Name
Link Text
Partial Link Text
Class
CSS
XPath