driver.setUrl not working on ios Real device
See original GitHub issueThe problem
driver.seturl api fails in ios real device with error
“value”:"Failed to open
Environment
- Appium version : 1.7.1.
- OS : MacOS High Sierra 10.13.1
- Node.js version : v8.6.0
- Mobile platform/version under test: iphone 5s . iOS : 11.1
- Real device
- Appium desktop version : 1.2.6
Note
The same code and config is working on simulator.
Link to Appium logs
Appium logs can be found here
Client logs marks the error as following : Error: [get(“http://www.google.co.in”)] Error response status: 13, UnknownError - An unknown server-side error occurred while processing the command. Selenium error: An unknown server-side error occurred while processing the command. Original error: Failed to open http://www.google.co.in
Code To Reproduce Issue [ Good To Have ]
javascript webdriver is being used to connect to the appium server.
driver = wd.promiseChainRemote(serverConfig); driver.init(desired).backgroundApp(0).get("http://www.google.co.in");
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
Top Results From Across the Web
driver.get is not working real device with IOS 11.2.6 + #12047
When i call driver.get(deeplink), simctl returns an error saying my UDID is an invalid device. Seems it's assuming my target device is a ......
Read more >Appium `get` command not working on iOS real device
Im automating a test using Appium / Ruby. My test runs the following steps: start app; do something; launch browser; go back to...
Read more >Safari getting launched on ios simulator, but not able to get url ...
The problem driver.seturl api fails in ios real device with error "value":"Failed to open Environment Appium version : 1.7.1. OS : MacOS High ......
Read more >Safari getting launched on ios simulator but not able to get url ...
Below is my code for reference: ios simulator is getting launched, ... as the endpoint does not work properly on real devices due...
Read more >Use driver.setUrl in Appium Android Driver With Examples
Run Appium Android Driver automation tests on LambdaTest cloud grid ... Perform automation testing on 3000+ real desktop and mobile devices online. Sign...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You should be in web context in order to use this endpoint. The fact that it does not work from native context on real devices is known XCTest limitation and it cannot be workarounded.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.