alert_text = value[‘data’].get(‘text’)
elif ‘alert’ in value:
alert_text = value[‘alert’].get(‘text’)
raise exception_class(message, screen, stacktrace, alert_text) # type: ignore[call-arg] # mypy is not smart enough here
raise exception_class(message, screen, stacktrace)
E selenium.common.exceptions.WebDriverException: Message: To use automation on desktop and virtual devices use http://hub.lambdatest.com/wd/hub
Upon checking the error, this refer to using to w3c protocol. To give a bit more context, for iOS 16 onwards, please send w3c-compliant capabilities only as Appium itself, is not supporting JSON wire capabilities now. Also, post-session creation also, all the commands should be in w3c compliant only.
thanks for replying.
I tried your solution but now it gives me below error
An error occurred: Message: [INVALID_APP_ID] The app_id lt://APP10160501071730469274729643 specified in the ‘app’ params is invalid. Please specify a valid app_id that was returned in the response to upload app API request and try again.
I have taken this app id from lamba test after uploading an app
it got resolved. I no more see that error. Now i see an error related to my plan as my plan doesnt support app automation on real device.
Thanks for helping out
HI varun,
An error occurred: Message: [INVALID_APP_ID] The app_id lt://APP10160501071730469274729643 specified in the ‘app’ params is invalid. Please specify a valid app_id that was returned in the response to upload app API request and try again.
This error may occur due to following reasons :
Either you are using app id which is not available for your org.
if you have passed app id incorrect.
Either you are passing app id that has been expired. (Once you upload any application it stays in our database till 60 days. In this case you have to upload you application again)