Server Arguments
These arguments are set when you launch the Appium server with device-farm plugin.
Argument | Required | Description | Default | Options |
---|---|---|---|---|
plugin-device-farm-platform |
Yes | Platform to run tests against for parallel execution | None | both ,ios ,android |
--plugin-device-farm-ios-device-type |
No | Types of ios devices to include | both |
both ,simulated ,real , For example: If you want to run only against iOS simulator then specify --plugin-device-farm-ios-device-type=simulated |
--plugin-device-farm-android-device-type |
No | Types of android devices to include | both |
both ,simulated ,real , For example: If you want to run only against android emulator then specify --plugin-device-farm-android-device-type=simulated |
plugin-device-farm-skip-chrome-download |
No | Downloads require chromedriver for web testing | true |
false Setting to false will download required chromedriver for web testing on chrome |
plugin-device-farm-hub |
No | HUB IP address and port the node should register | None | hub: "http://hubhost:hubport" , If you want to run tests distributed across remote and local machine |
plugin-device-farm-max-sessions |
No | Limit how many sessions can be active at a time. This is useful when you need limit sessions based on host machine resource availability. | None | <number> e.g. 8 |
plugin-device-farm-derived-data-path |
No | DriveDataPath of WDA to speed iOS test run. | None | {'simulator': 'PathtoDrivedDataPath', 'device': 'PathtoDrivedDataPath'} |
plugin-device-farm-adb-remote |
No | ADB Remote host and port as array | None | ["remoteMachine1IP:adbPort", "remoteMachine2IP:adbPort"] |
plugin-device-farm-proxy-ip |
No | For remote execution if the node machine is behing proxy | None | http://proxyIP:proxyPort , For example: 'https://10.x.x.x:3333' |
Above cli arguments can also be set from config.json file Refer here