文章来源地址https://www.toymoban.com/news/detail-832135.html
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://www.toymoban.com/news/detail-832135.html
到了这里,关于selenium 4.6版本开始,不需要手动下载driver的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!