Hello all!
I am trying to run ATH using remotewebdriver, for that I have modified the
FallbackConfig.java
(at~/src/main/java/org/jenkinsci/test/acceptance/FallbackConfig.java) as
following:
case "remotewebdriver":
DesiredCapabilities icaps = new DesiredCapabilities();
icaps.setBrowserName("firefox");
return new InfinityConnection().createWebDriver(icaps);
Moreover, I have created RemoteWebdriverConnection.java
(at
~/src/main/java/org/jenkinsci/test/acceptance/utils/RemoteWebdriverConnection.java)
public class RemoteWebdriverConnection {
public WebDriver createWebDriver (DesiredCapabilities icaps) throws
MalformedURLException {
return new RemoteWebDriver(new URL("HubURL:HubPort/wd/hub"), icaps);
}
}
*The above test setup runs perfectly on different selenium Hubs in my
network (Multiple machines) when I simply create a hub and connect a node
to it (Hub can be anywhere and node can be anywhere within my network)
specify the browser.*
However, it gives me an error (see below) when I specify additional
capabilities on my mac mini which acts as a grid and the available browser
is Firefox (Version 30 on Windows 8 64 bit)
case "remotewebdriver":
DesiredCapabilities icaps = new DesiredCapabilities();
icaps.setCapability("browser", "FIREFOX_30_WINDOWS_8_64");
icaps.setCapability("email", "[email protected]");
icaps.setCapability("record", true);
return new InfinityConnection().createWebDriver(icaps);
*Stack trace for error: on hastebin <http://hastebin.com/tuhekibaka.sm>*
I cannot seem to understand where exactly is the Guice error, and what
might be going wrong. I would be really grateful for any
guidance/suggestions!
Thank you very much in advance,
Greetings from Germany,
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/beb63a06-35fe-4631-b0e2-81cb4a91ea33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.