Closed chennareddy08 closed 7 years ago
WebDriverAgent detected that application under test is not running anymore and so then it cannot get the source.
@mykola-mokhnach The "Application local.pid.X is not running" does not happen in Xcode8 on ios 10, but often happens in Xcode 9 on ios 10,and sometimes cannot get the page source。Then,I decompiled XCTest.framework of Xcode8 and Xcode9, then found the source code of applicationWithPID and appWithPID is very different. So, i suspect that the "applicationWithPID" is not compatible ios 10(ios 10-)?
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.
The problem
Could not obtain source: {"cause":{"sessionId":"12509fca-f7ef-4709-a9f3-f238b073943d","status":13,"value":{"message":"An unknown server-side error occurred while processing the command. Original error: Cannot get '(null)' source of the current application"}},"jsonwire-error":{"detail":"An unknown server-side error occurred while processing the command.","status":13,"summary":"UnknownError"},"message":"[source()] 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: Cannot get '(null)' source of the current application","status":13}
Environment
Details
If necessary, describe the problem you have been experiencing in more detail.
Link to Appium logs
https://gist.github.com/chennareddy08/4f91749b6e001611d48f87512b75a85c
Code To Reproduce Issue [ Good To Have ]
Run appium desktop Click on start inspector session and observe Try to launch inspector using ipod touch 9.3.5
OR call getPageSource() more than 2 time in the script
appiumissue.txt