Is ID a locator in Selenium?
Selenium’s ID locator is the most ideal and quickest way to locate desired WebElements on a page. ID Selenium locators are unique to each DOM element. Because IDs are unique for each element on the page, it is considered to be the quickest and safest method of locating elements.