After running test on Safari browser, WebDriverAgent is signed and installed on device, Safari is opened and than test failed with error:
An unknown server-side error occurred while processing the command. Original error: Could not navigate to webview! Err: Failed to receive any data within the timeout: 5000
Tried to reinstall webDriverAgent, reboot phone etc.
Checked that webView is available from Safari Remote debugger
Checked settings->developer-> Enable UI Automation
Checked settings->Safari->advanced->Web Inspector and Remote Automation are enabled
Appium version: 1.22/1.23.0-beta.0 -also tried desktop version
appium logs
[debug] [HTTP] Request idempotency key: 9f6e30cb-f124-4b71-af66-6f00fbb2e8b1
[HTTP] --> POST /wd/hub/session
[HTTP] {"capabilities":{"firstMatch":[{"appium:automationName":"XCUITest","platformName":"iOS","appium:deviceName":"iPhone Xr","appium:platformVersion":"15.2","browserName":"Safari","appium:xcodeOrgId":"FCSM7534VM","appium:autoWebview":true,"appium:xcodeSigningId":"iPhone Developer","appium:udid":"00008020-001204CA3CD8003A","appium:safariInitialUrl":"https://www.github.com","appium:orientationSet":"PORTRAIT","appium:webviewConnectTimeout":90000}]},"desiredCapabilities":{"automationName":"XCUITest","platformName":"iOS","deviceName":"iPhone Xr","platformVersion":"15.2","browserName":"Safari","xcodeOrgId":"FCSM7534VM","autoWebview":true,"xcodeSigningId":"iPhone Developer","udid":"00008020-001204CA3CD8003A","safariInitialUrl":"https://www.github.com","orientationSet":"PORTRAIT","webviewConnectTimeout":90000}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"automationName":"XCUITest","platformName":"iOS","deviceName":"iPhone Xr","platformVersion":"15.2","browserName":"Safari","xcodeOrgId":"******","autoWebview":true,"xcodeSigningId":"iPhone Developer","udid":"00008020-001204CA3CD8003A","safariInitialUrl":"https://www.github.com","orientationSet":"PORTRAIT","webviewConnectTimeout":90000},null,{"firstMatch":[{"appium:automationName":"XCUITest","platformName":"iOS","appium:deviceName":"iPhone Xr","appium:platformVersion":"15.2","browserName":"Safari","appium:xcodeOrgId":"FCSM7534VM","appium:autoWebview":true,"appium:xcodeSigningId":"iPhone Developer","appium:udid":"auto","appium:safariInitialUrl":"https://www.github.com","appium:orientationSet":"PORTRAIT","appium:webviewConnectTimeout":90000}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1643022971439 (13:16:11 GMT+0200 (Eastern European Standard Time))
[Appium] Appium v1.23.0-beta.0 creating new XCUITestDriver (v3.61.0) session
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver] "alwaysMatch": {
[debug] [BaseDriver] "platformName": "iOS",
This file has been truncated. show original