Hi There,
I said I would email you as not sure if it's a bug or config issue.
When I run a test on Gecko/Firefox it is working locally as expected no issues.
I run the same test on selenium grid using chrome it works as expected.
But when I run it on Firefox over the grid it does not work.
What I get is that it opens the browser but never hits the url.
I am on Firefox 64 Gecko 23.0 and Selenium 3.13.
Below are my settings to connect to run over the grid.
I have set logging to ALL and in the node set the level to trace if there was an output there once I noticed it wasn't launching
Both in the node prompt and the console there are no extra logging for a trace log?
I do see - Timed out waiting 45 seconds for Firefox to start.
In the logs on java even though firefox is launched on the node. It just not enter a url.
Node Config
{
"capabilities": [
{
"browserName": "firefox",
"moz:firefoxOptions": {
"profile": "<base64 encoded profile>",
"args": ["-headless"],
"prefs": {"dom.ipc.processCount": 8},
"log":{"level": "trace"}
},
"maxInstances": 1,
"platform": "WIN10",
"takesScreenshot": true,
"marionette":false,
"seleniumProtocol": "WebDriver"
}
],
"maxSession": 1,
"register": true,
"hub": "
http://auto-grid:4444/grid/register"
}
Node Connection
java -Dwebdriver.gecko.driver="C:\Resources\Drivers\geckodriver.exe" -jar selenium-server-standalone-3.13.0.jar -role node -nodeConfig nodeConfig.json
capabilities for firefox
if (browserType.equalsIgnoreCase("Firefox")) {
FirefoxProfile firefoxProfile = new FirefoxProfile();
firefoxProfile.setAcceptUntrustedCertificates(true);
firefoxProfile.setAssumeUntrustedCertificateIssuer(true);
firefoxProfile.setPreference("security.insecure_field_warning.contextual.enabled", false);
capability = new FirefoxOptions().setProfile(firefoxProfile).addTo(DesiredCapabilities.firefox());
capability = new FirefoxOptions().setLogLevel(Level.ALL).addTo(DesiredCapabilities.firefox());
capability.setBrowserName("firefox");
capability.setPlatform(Platform.WIN10);
capability.setCapability("marionette", false);
}
Thanks,
Brian
[Sage Business Cloud]
Discover how Sage Sessions are transforming the way businesses work. Register now.<
https://get.sage.com/SageSessionsUK>
Newcastle | London | Bristol | Manchester | Glasgow | Dublin
If you've received this email by mistake, we're sorry for bothering you. It may contain information that's confidential, so please delete it without sharing it. And if you let us know, we can try to stop it from happening again. Thank you. We may monitor any emails sent or received by us, or on our behalf. If we do, this will be in line with relevant law and our own policies. Sage Technologies Limited. Registered in Ireland at 3096 Lake Drive, Citywest Business Park, Dublin 24. Registered number 275060. Directors: P O'Neill, A Henry (France) and M Parry (UK).
The information contained in this email transmission may constitute confidential information. If you are not the intended recipient, please take notice that reuse of the information is prohibited.