January 2018
Beginner to intermediate
354 pages
7h 59m
English
Like the Selenium browser node command-line options, there is also a -nodeConfig option to load a JSON configuration file with all the common AppiumDriver desired capabilities for the nodes.
<span>Here is a sample Selenium node JSON configuration file for iPhone devices:
// iphone_config.json{ "capabilities":[ { "platform":"MAC", "platformVersion":"10.0", "browserName":"iphone", "applicationName":"MAC-IPHONE", "maxInstances":1, "launchTimeout":"300000", "newCommandTimeout":"1800" } ], "configuration":{ "_comment":"Configuration for Selenium Node MAC/IPHONE", "proxy":"org.openqa.grid.selenium.proxy.DefaultRemoteProxy", "maxSessions":1, "cleanUpCycle":5000, "timeout":1800, "url":"http://127.0.0.1:4723/wd/hub", ...Read now
Unlock full access