19 lines
393 B
Python
19 lines
393 B
Python
# -*- coding:utf-8 -*-
|
|
"""
|
|
@Author : g1879
|
|
@Contact : g1879@qq.com
|
|
@Website : https://DrissionPage.cn
|
|
@Copyright: (c) 2020 by g1879, Inc. All Rights Reserved.
|
|
"""
|
|
|
|
|
|
class By:
|
|
ID = 'id'
|
|
XPATH = 'xpath'
|
|
LINK_TEXT = 'link text'
|
|
PARTIAL_LINK_TEXT = 'partial link text'
|
|
NAME = 'name'
|
|
TAG_NAME = 'tag name'
|
|
CLASS_NAME = 'class name'
|
|
CSS_SELECTOR = 'css selector'
|