selenium.webdriver.common.by

By 实现

1. class selenium.webdriver.common.by.By

一组定位策略

  • CLASS_NAME = 'class name'

  • CSS_SELECTOR = 'css selector'

  • ID = 'id'

  • LINK_TEXT = 'link text'

  • NAME = 'name'

  • PARTIAL_LINK_TEXT = 'partial link text'

  • TAG_NAME = 'tag name'

  • XPATH = 'xpath'

© 2020 刘士. All rights reserved.

结果匹配 ""

    没有匹配的结果 ""