-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Closed
Description
Hi All.
I don't see any option to reopen an closed issue, so I start this issue (for me) again. Sorry for what.
My reason for the issue:
I have the same problem.
Selenium Versin 3.6.0 on Win 2008 Srv
Chrome 2.33,
JAVA 1.6.x Develop and JAVA 1.8 Runtime
[java] Exception in thread "main" java.lang.NoSuchMethodError: org.openqa.selenium.chrome.ChromeOptions.addArguments([Ljava/lang/String;)V
and all is new recompiled....
ChromeOptions chromeOptions = new ChromeOptions();
String webdriverChromeDriver = new MonitoringHelper().getProperty("CHROMEDRIVER");
System.setProperty("webdriver.chrome.driver", webdriverChromeDriver);
chromeOptions.addArguments("no-sandbox");
chromeOptions.addArguments("start-maximized");
chromeOptions.addArguments("ignore-certificate-errors");
chromeOptions.addArguments("disable-infobars");
capability = DesiredCapabilities.chrome();
capability.setCapability(ChromeOptions.CAPABILITY, chromeOptions);
remWebDriver = new org.openqa.selenium.remote.RemoteWebDriver(new URL(hubURL), capability);
The Eclipse Helper shows me, the method exist and I have only the 3.6.0 Libs in my Classpath.
Without any chromeOptions.addArguments(StringValue); loading ChromDriver works...
2017-10-09 16:01:32.180:INFO:osjshC.ROOT:qtp700072760-17: org.openqa.selenium.remote.server.WebDriverServlet-3d51f06e: Initialising WebDriverServlet
Starting ChromeDriver 2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f) on port 22699
Only local connections are allowed.
Any idea?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels