selenium.webdriver.common.by

The By implementation.

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

Set of supported locator strategies.

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

This Page