update DrissionPage/config.py.

This commit is contained in:
kkjj828 2020-08-19 14:36:45 +08:00 committed by Gitee
parent e66f6adc79
commit b04715c9b8

View File

@ -235,6 +235,9 @@ class DriverOptions(Options):
self.set_argument('--disk-cache-dir', format_path(cache_path))
return self
class SessionOptions(object):
pass
def _dict_to_chrome_options(options: dict) -> Options:
"""从传入的字典获取浏览器设置返回ChromeOptions对象 \n