selenium.webdriver.common.by

The By implementation.

Classes

By()

Set of supported locator strategies.

class selenium.webdriver.common.by.By[source]

Set of supported locator strategies.

ID = 'id'
XPATH = 'xpath'
NAME = 'name'
TAG_NAME = 'tag name'
CLASS_NAME = 'class name'
CSS_SELECTOR = 'css selector'