2.7.0更新文档

This commit is contained in:
g1879 2022-05-28 21:23:36 +08:00
parent 575231f06a
commit 9d8597c6bf
3 changed files with 17 additions and 5 deletions

View File

@ -447,7 +447,7 @@ def _create_chrome(chrome_path: str, port: str, args: list, proxy: dict) -> tupl
# ----------创建浏览器进程----------
try:
debugger = Popen(f'{chrome_path} --remote-debugging-port={port} {args}', shell=False)
debugger = Popen(f'"{chrome_path}" --remote-debugging-port={port} {args}', shell=False)
if chrome_path == 'chrome.exe':
from .common import get_exe_path_from_port

View File

@ -1,3 +1,15 @@
# v2.7.0
- DriverPage
- 增加`get_session_storage()``get_local_storage()``set_session_storage()``set_local_storage()``clean_cache()`方法
- `run_cdp()``cmd_args`参数改为`**cmd_args`
- 关闭 driver 时会主动关闭 chromedriver.exe 的进程
- 优化关闭浏览器进程逻辑
# v2.6.2
- d 模式增加`stop_loading()`方法
@ -6,9 +18,9 @@
# v2.6.0
- 新增`Listener`
- 可监听浏览器数据包
- 可异步监听
- 可实现每监听到若干数据包执行操作
- 可监听浏览器数据包
- 可异步监听
- 可实现每监听到若干数据包执行操作
- 放弃对selenium4.1以下的支持
- 解决使用新版浏览器时出现的一些问题

View File

@ -6,7 +6,7 @@ with open("README.md", "r", encoding='utf-8') as fh:
setup(
name="DrissionPage",
version="2.6.3",
version="2.7.0",
author="g1879",
author_email="g1879@qq.com",
description="A module that integrates selenium and requests session, encapsulates common page operations.",