Commit c34fdbf2 by mac

review

parent b2120487
...@@ -7,7 +7,7 @@ browserName = Chrome ...@@ -7,7 +7,7 @@ browserName = Chrome
[testServer] [testServer]
#调试客户端本地文件路径 #调试客户端本地文件路径
win_app_location = C:\Users\Administrator\AppData\Local\Programs\xmqxy\小麦企学院.exe win_app_location = C:\Users\Administrator\AppData\Local\Programs\xmqxy\小麦企学院.exe
mac_app_location = C:\Users\Administrator\AppData\Local\Programs\xmqxy\麦企学院 mac_app_location = /Applications/小麦企学院.app/Contents/MacOS/小麦企学院
[account] [account]
# 白名单账号 # 白名单账号
......
...@@ -14,6 +14,7 @@ if platform.system().lower() == "windows": ...@@ -14,6 +14,7 @@ if platform.system().lower() == "windows":
service = webdriver.chrome.service.Service(file_abspath() + "/tools/chromedriver.exe") service = webdriver.chrome.service.Service(file_abspath() + "/tools/chromedriver.exe")
elif platform.system().lower() == "darwin": elif platform.system().lower() == "darwin":
service = webdriver.chrome.service.Service(file_abspath() + "/tools/chromedriver") service = webdriver.chrome.service.Service(file_abspath() + "/tools/chromedriver")
os.system('chmod 777 {}'.format(file_abspath() + "/tools/chromedriver"))
service.start() service.start()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment