IOS Mobile automation - Runtime domain was not found issue on ios 26.2

Hello. Im running mobile automation on IOS devices and after updating to ios 26.2 im getting a lot of Runtime’ domain was not found errors which i can see in appium logs.

Also i am aware tha IOS 26.2 introduced updates to its Webkit remote debugging API and that its causing the issues.

This Issue i am noticing in multiple areas:

  1. After switching webview in APP (using appium getIOSDriver.context(id) method) , in logs i see that document.readyState returns Runtime domain was not found.

  2. After navigating to a different view in app ( same webview context ) after executing ‘findElement’ in logs i also see Runtime domain was not found.

version list:

xcode - 26.2

ios - 26.2

appium - 2.19.0

xcuitest - 9.10.5

capability list:

"appium:includeSafariInWebviews", true);
"appium:useFirstMatch", true);
"appium:fullContextList", true);
"appium:showXcodeLog", true);
"appium:waitForQuiescence", true);
"appium:newCommandTimeout", 10000);
"appium:waitForIdleTimeout", 2000);

Also i have enabled in safari advanced settings javascript, web inspector and remote automation, also  in developer options i have enabled UI automation. 

1 why not try with latest v10.14.6 appium-xcuitest-driver ?

2 pls add full log with error. you can remove sensitive data in log.

3 your appium server version also looks not latest.

good luck!

PS! o! feat: iOS Beta 26.2 may require to handle targets properly etc · Issue #21705 · appium/appium · GitHub → summary you can use XCUITest driver 10.5.0+ with any version of Appium 3. Appium 1 or 2 are not supported.

1 Like

Thank you for your response, Aleksei! That is exactly what i needed