Webdriver initialization error java.lang.AbstractMethodError: org.openqa.selenium.remote.service.DriverService$Builder.loadSystemProperties()V

huangapple go评论76阅读模式
英文:

Webdriver initialization error java.lang.AbstractMethodError: org.openqa.selenium.remote.service.DriverService$Builder.loadSystemProperties()V

问题

I'm facing this error, on windows and mac both, while launching the browser.

java.lang.AbstractMethodError: org.openqa.selenium.remote.service.DriverService$Builder.loadSystemProperties()V

We updated selenium version in march, and it has been working fine till last week.

I'm able to set the absolute path with System.setProperty and verify it with System.getProperty afterwards.

I have seen few similar posts like this, but they are about the binary paths.

Can someone help explaining this error or point in right direction please.

英文:

I'm facing this error, on windows and mac both, while launching the browser.

java.lang.AbstractMethodError: org.openqa.selenium.remote.service.DriverService$Builder.loadSystemProperties()V

We updated selenium version in march, and it has been working fine till last week.

I'm able to set the absolute path with System.setProperty and verify it with System.getProperty afterwards.

I have seen few similar posts like this, but they are about the binary paths.

Can someone help explaining this error or point in right direction please.

答案1

得分: 1

这个错误通常是由WebDriver的版本与您正在使用的浏览器版本不匹配引起的。只需确保一切都已更新并且兼容,包括版本等。如果您绝对确定一切都是最新的,那么您可以尝试使用不同版本的WebDriver或不同的浏览器。

英文:

This error is usually caused by a version mismatch between the version of the WebDriver and the version of the browser you are using. Just make sure that everything is updated and compatible, like the versions and all. If you're absolutely sure everything is up to date then you can try using a different version of the WebDriver or a different browser

huangapple
  • 本文由 发表于 2023年5月13日 14:27:03
  • 转载请务必保留本文链接:https://go.coder-hub.com/76241386.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定