-
-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Appium 2 - XcuiTest driver args unrecognized wdaLocalPort #16340
Comments
will produce this as part of the output:
So you can simply run:
|
Have updated all device scripts to use '--driver-xcuitest-webdriveragent-port 810x' When running tests, commands from one test are running on the wrong device sometimes. Looks to be the same behaviour as when I just dont provide 'driver-xcuitest-webdriveragent-port' From logs it looks like it is just using default port across all devices on the grid
What else can I provide to help find a fix? |
Could you please provide the full log? |
also make sure the xcuitest driver itself is up to date |
xcuitest @ 3.59.2 Below is copy of log when running 1 test with '--driver-xcuitest-webdriveragent-port 8101' set Would you expect line 106 to be |
Thanks. I would expect the provided wda port value to be reflected somewhere in the log, but it is not there. Might be an issue though. @boneskull could you please take a quick look? |
Gist of --show-config, shows that its reading it in https://gist.github.com/Auto81/4107df8079be2ed21f28aaaa0e754d4d |
I assume there might be an issue while caps are loaded from a json config file. We definitely did not test this case since Grid 4 has been released quite long time ago. |
Still running grid 3 here |
Yeah, this all looks correct to me. @boneskull can you see anything related to config that might be off here? |
One thing to investigate: the driver creates a new wda instance using |
I'll take a look |
showConfig isn't behaving quite how i'd like either, ugh |
`--show-config` was not able to distinguish between defaults and values provided on the CLI. now it does. `--show-config` now displays (in this order): 1. any settings from the defaults (across Appium and any extensions) 2. any settings specified in config files 3. any settings specified on the CLI 4. the final merged configuration Ref: #16340
Since appium/appium-xcuitest-driver#1372 has been merged, within the next day or two a new xcuitest driver should be auto-published, which you can then upgrade to via the CLI to get the fix. |
thanks to @boneskull for the fix! |
Looks to have been published already :) Installed and back to parallel glory, thank everyone and @boneskull for fix! |
glad it worked! lol |
`--show-config` was not able to distinguish between defaults and values provided on the CLI. now it does. `--show-config` now displays (in this order): 1. any settings from the defaults (across Appium and any extensions) 2. any settings specified in config files 3. any settings specified on the CLI 4. the final merged configuration Ref: #16340
`--show-config` was not able to distinguish between defaults and values provided on the CLI. now it does. `--show-config` now displays (in this order): 1. any settings from the defaults (across Appium and any extensions) 2. any settings specified in config files 3. any settings specified on the CLI 4. the final merged configuration Ref: #16340
`--show-config` was not able to distinguish between defaults and values provided on the CLI. now it does. `--show-config` now displays (in this order): 1. any settings from the defaults (across Appium and any extensions) 2. any settings specified in config files 3. any settings specified on the CLI 4. the final merged configuration Ref: #16340
`--show-config` was not able to distinguish between defaults and values provided on the CLI. now it does. `--show-config` now displays (in this order): 1. any settings from the defaults (across Appium and any extensions) 2. any settings specified in config files 3. any settings specified on the CLI 4. the final merged configuration Ref: #16340
`--show-config` was not able to distinguish between defaults and values provided on the CLI. now it does. `--show-config` now displays (in this order): 1. any settings from the defaults (across Appium and any extensions) 2. any settings specified in config files 3. any settings specified on the CLI 4. the final merged configuration Ref: #16340
The problem
When trying to use
appium server --driver-args='{"xcuitest":{"wdaLocalPort": 8104}}'
with Appium 2.0.0-beta.23 it throws the following errorappium: error: unrecognized arguments: --driver-args
Environment
The text was updated successfully, but these errors were encountered: