You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("name", testName);
Driver = SeleniumFactory.createWebDriver(capabilities);
And here is the error I get:
java.lang.AbstractMethodError: com.saucelabs.selenium.client.factory.spi.SeleniumFactorySPI.createWebDriver(Lcom/saucelabs/selenium/client/factory/SeleniumFactory;Ljava/lang/String;Lorg/openqa/selenium/remote/DesiredCapabilities;)Lorg/openqa/selenium/WebDriver;
at com.saucelabs.selenium.client.factory.SeleniumFactory.createWebDriverInstance(SeleniumFactory.java:320)
at com.saucelabs.selenium.client.factory.SeleniumFactory.createWebDriverInstance(SeleniumFactory.java:303)
at com.saucelabs.selenium.client.factory.SeleniumFactory.createWebDriver(SeleniumFactory.java:109)
at com.Driver.get(Driver.java:209)
Seems to be stemming from this abstract class in SeleniumFactorySPI.java:
public abstract WebDriver createWebDriver(SeleniumFactory factory,String browserURL, DesiredCapabilities capabilities);
I'm trying to do this:
And here is the error I get:
Seems to be stemming from this abstract class in
SeleniumFactorySPI.java
:Here are the versions I'm using:
The text was updated successfully, but these errors were encountered: