appium / appium

Cross-platform automation framework for all kinds of apps, built on top of the W3C WebDriver protocol
http://appium.io/
Apache License 2.0
18.94k stars 6.08k forks source link

Issue with Appium inspector :"jsonwire-error":{"detail":"An unknown server-side error occurred while processing the command.","status":13,"summary":"UnknownError"},"message":"[source()] Error response status: 13, , #9549

Closed chennareddy08 closed 7 years ago

chennareddy08 commented 7 years ago

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

34 appiumissue.txt

mykola-mokhnach commented 7 years ago

Duplicate of https://github.com/facebook/WebDriverAgent/issues/752

mykola-mokhnach commented 7 years ago

WebDriverAgent detected that application under test is not running anymore and so then it cannot get the source.

hzgoucheng commented 7 years ago

@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-)?

lock[bot] commented 5 years ago

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.