服务器上运行报错
Closed this issue · 2 comments
Picasun commented
Traceback (most recent call last):
File "main.py", line 305, in
s = Service()
TypeError: init() missing 1 required positional argument: 'executable_path'
BlueFisher commented
更新 selenium,并手动将 chrome driver 的路径设置为环境变量,或在 Service()
里增加 executable_path
参数手动指定chrome driver 的路径
eldoradoel commented
我是debian 运行apt install ruby-chromedriver-helper即可