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
Cannot get 'xml' source of the current application error #13705
Comments
Is there anything in the device logs when this is happening? Is there anything different about the one page on which this happens? |
I see below error on the console log: XCTAS Error: XCTAutomationSupportErrorSnapshotFailure: Error kAXErrorIPCTimeout getting snapshot for element XCTAS Error: Error Domain=com.apple.dt.xctest.automation-support.error Code=5 UserInfo={NSLocalizedDescription=} XCTAS Error: XCTAutomationSupportErrorUnknownElement: Error getting main window kAXErrorIPCTimeout XCTAS Error: Error Domain=com.apple.dt.xctest.automation-support.error Code=8 UserInfo={NSLocalizedDescription=} |
I'm sure other people who reported their issues before already had similar problems. Check if any of the solutions proposed there work for your case. We don't have anything more to suggest on the case as it is not an issue in Appium, but the XCTest one |
I went through all the similar reported issues. Most were resolved with latest version of appium. But I am already on one of the latest version for iOS13 testing. |
Which particular solutions did you try, that were described there? |
There have also been significant changes in the beta/rc versions of Appium, particularly in the evolving support for iOS 13. I would at least try the latest release candidate. |
Issues that were in resolved state had the solution of upgrading to 1.15.1 version, which i am already on. I didnt see any other solution |
Will try this. |
Also linking #13595 |
You should try it with Endtest and see if it works. |
Unfortunately there is nothing more we can advice on this issue. |
The problem
I am getting "Cannot get 'xml' source of the current application" error on refreshing page source on one page for a native application. On Apppium desktop the spinner keeps spinning when i click on the button and after a while spinner vanishes but page refresh doesn't happen. When i run through code i get the error as "org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Cannot get 'xml' source of the current application". I have attached the appium server logs. Could you please look into the issue?
Appium_Server_Log.txt
Environment
*Appium CLI or Appium.app|exe: .app file
##Code
public void i_print_pagesource() throws Throwable {
Log.info("Page source is:\n" + driver.getPageSource());
}
The text was updated successfully, but these errors were encountered: