mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-10 04:00:23 +08:00
4.0.0b11修复WebPage()的get_tab()报错
This commit is contained in:
parent
9d51af46ab
commit
11027b01b2
@ -13,4 +13,4 @@ from ._configs.chromium_options import ChromiumOptions
|
|||||||
from ._configs.session_options import SessionOptions
|
from ._configs.session_options import SessionOptions
|
||||||
|
|
||||||
__all__ = ['ChromiumPage', 'ChromiumOptions', 'SessionOptions', 'SessionPage', 'WebPage', '__version__']
|
__all__ = ['ChromiumPage', 'ChromiumOptions', 'SessionOptions', 'SessionPage', 'WebPage', '__version__']
|
||||||
__version__ = '4.0.0b10'
|
__version__ = '4.0.0b11'
|
||||||
|
@ -411,10 +411,11 @@ class SessionOptions(object):
|
|||||||
self._params = session.params
|
self._params = session.params
|
||||||
self._verify = session.verify
|
self._verify = session.verify
|
||||||
self._cert = session.cert
|
self._cert = session.cert
|
||||||
self._adapters = session.adapters
|
|
||||||
self._stream = session.stream
|
self._stream = session.stream
|
||||||
self._trust_env = session.trust_env
|
self._trust_env = session.trust_env
|
||||||
self._max_redirects = session.max_redirects
|
self._max_redirects = session.max_redirects
|
||||||
|
if session.adapters:
|
||||||
|
self._adapters = [(k, i) for k, i in session.adapters.items()]
|
||||||
return self
|
return self
|
||||||
|
|
||||||
# --------------即将废弃---------------
|
# --------------即将废弃---------------
|
||||||
|
2
setup.py
2
setup.py
@ -6,7 +6,7 @@ with open("README.md", "r", encoding='utf-8') as fh:
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="DrissionPage",
|
name="DrissionPage",
|
||||||
version="4.0.0b10",
|
version="4.0.0b11",
|
||||||
author="g1879",
|
author="g1879",
|
||||||
author_email="g1879@qq.com",
|
author_email="g1879@qq.com",
|
||||||
description="Python based web automation tool. It can control the browser and send and receive data packets.",
|
description="Python based web automation tool. It can control the browser and send and receive data packets.",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user