What are Selenium locators in WebDriverIO?

Help me with Selenium locators in WebDriverIO.

Hi Rahul,

Selenium locators are utilized to find elements on a web page through a Selenium WebDriver when a test automation script is executed. A selector is a keyword in the selectors list of the WebDriver, which is read by Selenium library, convert into an HTTP request and interact with web browsers.

These are some of the Selenium locators in WebDriver IO:

Hope it helps!

4 Likes