FRAMEWORK » SELENIUM » ELEMENT

Locator

Usage

python
from selenium.webdriver.common.by import By
  • By.ID
  • By.XPATH
  • By.LINK_TEXT
  • By.PARTIAL_LINK_TEXT
  • By.NAME
  • By.TAG_NAME
  • By.CLASS_NAME
  • By.CSS_SELECTOR