January 2018
Beginner to intermediate
354 pages
7h 59m
English
Like the Selenium hub command-line options, there is also a -nodeConfig option to load a JSON configuration file with all the common WebDriver desired capabilities for the nodes.
Here is a sample Selenium node JSON configuration file:
// selenium_node.json{ "capabilities":[ { "browserName":"firefox", "version":"56.0", "platform":"LINUX", "applicationName":"LINUX-FIREFOX", "maxInstances":10, "seleniumProtocol":"WebDriver", "acceptSslCerts":true, "javascriptEnabled":true, "takesScreenshot":true } ], "_comment":"Configuration for Selenium Node Linux/Firefox", "timeout":600, "browserTimeout":300, "cleanUpCycle":5000, "proxy":"org.openqa.grid.selenium.proxy.DefaultRemoteProxy", "maxSession":10, "port":5555, ...Read now
Unlock full access