0


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


本文转载自: https://blog.csdn.net/xuan8930/article/details/131124747
版权归原作者 xuan8930 所有, 如有侵权,请联系我们删除。

“selenium 4.6版本开始,不需要手动下载driver”的评论:

还没有评论