增加get_match_driver()方法;

easy_set所有方法增加可指定ini文件,待测试
This commit is contained in:
g1879 2020-11-20 17:37:42 +08:00
parent 5d5643232e
commit 4796999842

View File

@ -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:')