executable_path报错了
来源:9-6 selenium的安装和使用

慕瓜9050872
2024-02-20
executable_path报错了 browser = webdriver.Chrome(executable_path=val)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: WebDriver.init() got an unexpected keyword argument 'executable_path’这是咋回事
写回答
1回答
-
bobby
2024-02-22
https://stackoverflow.com/questions/76550506/typeerror-webdriver-init-got-an-unexpected-keyword-argument-executable-p 可以看看这里,新版本的selenium这里初始化方式变了,你参考这里的回复初始化就行了,或者是使用
selenium
4.10.0之前的版本就不用改代码了
00
相似问题