mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-10 04:00:23 +08:00
增加get_match_driver()方法;
easy_set所有方法增加可指定ini文件,待测试
This commit is contained in:
parent
5d5643232e
commit
4796999842
@ -18,9 +18,9 @@ from DrissionPage.session_page import SessionPage
|
||||
from common import unzip
|
||||
|
||||
|
||||
def show_settings() -> None:
|
||||
def show_settings(ini_path: str = None) -> None:
|
||||
"""打印ini文件内容"""
|
||||
om = OptionsManager()
|
||||
om = OptionsManager(ini_path)
|
||||
print('paths:')
|
||||
pprint(om.get_option('paths'))
|
||||
print('\nchrome options:')
|
||||
|
Loading…
x
Reference in New Issue
Block a user