-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
iOS Appium on BrowserStack Falls Back to MSONWP instead of Using Expected W3C Protocol #4273
Comments
Is there a reason for using Appium |
It is. WebdriverIO sends a w3c command as it suppose to do with Appium given they support w3c within the latest versions. Please reach out to BS and ask how to use the latest version of Appium. |
@wswebcreation for the record I added the debug log to the issue (https://gist.github.com/pablopaul/e08b68aaf6d4e622936eabc338e7bf0c). Currently the latest Appium version available on BrowserStack is @christian-bromann BS want to provide newer Appium version, but no ETA. |
It's a pity that BS isn't supporting the latest versions, Appium is already on version |
Yes, Appium I contacted sales again. |
Anyway, locally I ran successfully Maybe its the simulator vs real device, what do you think? |
I don't think it's related, I think it's more a BS thing, but maybe that's also because I'm a SL guy 😉 |
@christian-bromann the issue is still existing, also with |
The error is either in Appium in their iOS driver or still on BS |
Environment:
NPM version: 6.10.1
Config of WebdriverIO
Local capabilities set through webdriverio which are working
The capabilities for BrowserStack are looking like this:
Describe the bug
I try to run a test which sets timeouts (
/timeouts
endpoint) on iOS on BrowserStack through Appium 1.9.1.I am using WebdriverIO as client library.
The test looks like:
The test fails with
Error: Parameters were incorrect. We wanted {"required":["type","ms"]} and you sent ["implicit","pageLoad","script"]
.This is because on BrowserStack Appium detects MSONWP protocol, but the timeout format is only compatible with W3C protocol.
To Reproduce
Execute the test above against a real iOS device on BrowserStack.
Expected behavior
No error appears when using
setTimeouts
.Log
Link to WebdriverIO log: https://gist.github.com/pablopaul/e08b68aaf6d4e622936eabc338e7bf0c
Link to Appium log: https://gist.github.com/pablopaul/6c2141d5023e65532ae838da84f15c10
The text was updated successfully, but these errors were encountered: