selenium 4.6版本开始,不需要手动下载driver

 

As of Selenium 4.6, Selenium downloads the correct driver for you. You shouldn’t need to do anything. If you are using the latest version of Selenium and you are getting an error, please turn on logging and file a bug report with that information.

If you want to read more information about how Selenium manages driver downloads for you, you can read about the Selenium Manager.

从Selenium 4.6开始,Selenium会为您下载正确的驱动程序。你什么都不需要做。如果您正在使用最新版本的Selenium,并且遇到错误,请打开日志记录并提交一份包含该信息的错误报告。

如果您想阅读有关Selenium如何为您管理驱动程序下载的更多信息,您可以阅读Selenium Manager

引用:

Unable to Locate Driver Error | Selenium

Selenium 4.6.0 Released! | Selenium

终于可以不用自己手动去下载烦人的driver了

顺便看下它的Java代码实现

 就这么样子,咋不早点弄呢(⊙﹏⊙)b

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值