Pre Merge pull request !1 from kkjj828/N/A

This commit is contained in:
kkjj828 2020-08-19 14:36:46 +08:00 committed by Gitee
commit 604ce9341e

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