mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-10 04:00:23 +08:00
微调
This commit is contained in:
parent
35151acd2b
commit
783df77782
@ -150,7 +150,7 @@ class DriverPage(BasePage):
|
||||
|
||||
# 接收到的类型不正确,抛出异常
|
||||
else:
|
||||
raise ValueError('loc_or_str参数只能是tuple、str、DriverElement 或 DriverElement类型。')
|
||||
raise ValueError('loc_or_str参数只能是tuple、str、DriverElement 或 WebElement类型。')
|
||||
|
||||
def get_cookies(self, as_dict: bool = False) -> Union[list, dict]:
|
||||
"""返回当前网站cookies"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user