i want to use AppiumDriverLocalService buildService(AppiumServiceBuilder builder) to launch multi-servers,but there is no args like “–default-capabilities” or “–udid”.
or is there any solution to solve that multi_servers with different deviceNames?
refer:
## The --default-capabilities flag
Appium 1.5 does away with most CLI flags that existed previously; the remainder can be converted into JSON and made part of the `--default-capabilities` flag. For example:
```
# raw JSON as an argument
--default-capabilities '{"app": "myapp.app", "deviceName": "iPhone Simulator"}'
# or the name of a JSON file
--default-capabilities /path/to/file.json
```
**Windows users** will need to escape the quotes in JSON passed on the command line: `--default-capabilities "{\"app\": \"myapp.app\"}"`
| Flag | JSON key |
|---------------------------|-------------------------|
| --keep-artifacts | keepArtifacts |
| --platform-name | platformName |
| --platform-version | platformVersion |
This file has been truncated. show original
who can help me ?
AppiumDriverLocalService buildService(AppiumServiceBuilder builder)