Executable path has been deprecated please pass in a Service object in Selenium Python

chrome插件下载地址:https://npm.taobao.org/mirrors/chromedriver/
问题:
解决方案:
后续会发现定位方式也有报提醒 DeprecationWarning: find_element_by_* commands are deprecated. Please use find_element() instead
根据提示用find_element()就可以了

Executable path has been deprecated please pass in a Service object in Selenium Python最先出现在Python成神之路

版权声明:
作者:主机优惠
链接:https://www.techfm.club/p/4912.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>