mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-10 04:00:23 +08:00
修改
This commit is contained in:
parent
3dc2207b0f
commit
c97e4bc37a
@ -1191,8 +1191,6 @@ Copy the cookies of the driver object to the session object.
|
|||||||
Parameter Description:
|
Parameter Description:
|
||||||
|
|
||||||
- copy_user_agent: bool - whether to copy user_agent to session
|
- copy_user_agent: bool - whether to copy user_agent to session
|
||||||
- driver: WebDriver- Copy the WebDriver object of cookies
|
|
||||||
- session: Session- Session object that receives cookies
|
|
||||||
|
|
||||||
Returns: None
|
Returns: None
|
||||||
|
|
||||||
@ -1205,8 +1203,6 @@ Copy cookies from session to driver.
|
|||||||
Parameter Description:
|
Parameter Description:
|
||||||
|
|
||||||
- url: str - the domain of cookies
|
- url: str - the domain of cookies
|
||||||
- driver: WebDriver- WebDriver object that receives cookies
|
|
||||||
- session: Session- Copy the Session object of cookies
|
|
||||||
|
|
||||||
Returns: None
|
Returns: None
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ DrissionPage,即 driver 和 session 的合体。
|
|||||||
|
|
||||||
**联系邮箱:** g1879@qq.com
|
**联系邮箱:** g1879@qq.com
|
||||||
|
|
||||||
**交流QQ群:**897838127
|
**交流QQ群:** 897838127
|
||||||
|
|
||||||
# 理念及背景
|
# 理念及背景
|
||||||
|
|
||||||
@ -1208,8 +1208,6 @@ Drission 类用于管理 WebDriver 对象和 Session 对象,是驱动器的角
|
|||||||
参数说明:
|
参数说明:
|
||||||
|
|
||||||
- copy_user_agent: bool - 是否复制 user_agent 到 session
|
- copy_user_agent: bool - 是否复制 user_agent 到 session
|
||||||
- driver: WebDriver - 复制 cookies 的 WebDriver 对象
|
|
||||||
- session: Session - 接收 cookies 的 Session 对象
|
|
||||||
|
|
||||||
返回: None
|
返回: None
|
||||||
|
|
||||||
@ -1222,8 +1220,6 @@ Drission 类用于管理 WebDriver 对象和 Session 对象,是驱动器的角
|
|||||||
参数说明:
|
参数说明:
|
||||||
|
|
||||||
- url: str - cookies 的域
|
- url: str - cookies 的域
|
||||||
- driver: WebDriver - 接收 cookies 的 WebDriver 对象
|
|
||||||
- session: Session - 复制 cookies 的 Session 对象
|
|
||||||
|
|
||||||
返回: None
|
返回: None
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user