提交 709476b1 authored 作者: 陈泽健's avatar 陈泽健

处理优化

上级 d74c577f
......@@ -81,6 +81,8 @@ def browser_init(login_type):
# service = Service(r'C:\Users\EDY\AppData\Local\Programs\Python\Python310\Scripts\chromedriver.exe')
# 云电脑
service = Service(r'E:\Python\Scripts\chromedriver.exe')
# 自动化虚拟机
# service = Service(r'C:\Program Files\Python310\Scripts\chromedriver.exe')
# 尝试创建WebDriver实例并执行初始化操作
try:
# 创建WebDriver实例
......
......@@ -3,5 +3,9 @@ trust_host_root_certs: false
tunnels:
nat1:
remote_port: 31134
proto:
tcp: "127.0.0.1:80"
nat2:
remote_port: 31135
proto:
tcp: "127.0.0.1:81"
\ No newline at end of file
ngrok -config=ngrok.cfg start nat1
\ No newline at end of file
ngrok -config=ngrok.cfg start nat1 nat2
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论