原异常:selenium.common.exceptions.InvalidArgumentException: Message: invalid argument
(Session info: chrome=97.0.4692.71)
"今天想偷懒,获取地址的时候将http请求给干掉了,然后调试的时候发现抛出了这个异常,这个异常的意思的,selenium常见异常无效参数异常:无效参数 谷歌版本= 97.0.4692.71"
1.所以对于这个问题,我用2种方式去尝试,第一种是查询谷歌浏览器与chromeDriver是否匹配,发现匹配仍然报这个异常
2.我将请求方式 https:// 添加进去后,输入https://www.baidu.com/,发现无异常进行,浏览器可以正常进行操作文章来源:https://www.toymoban.com/news/detail-510500.html
文章来源地址https://www.toymoban.com/news/detail-510500.html
到了这里,关于selenium.common.exceptions.InvalidArgumentException: Message: invalid argument (.. info: chrome=..)的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!