Skip to content

Instantly share code, notes, and snippets.

@nghiadhd
Created October 31, 2019 05:18
Show Gist options
  • Save nghiadhd/40b1243ffc79a5c29796345f29eb5e1c to your computer and use it in GitHub Desktop.
Save nghiadhd/40b1243ffc79a5c29796345f29eb5e1c to your computer and use it in GitHub Desktop.
The Safari has crashed on the appium 1.16.0-beta.1 (REV 468aa4bb2dedb2f6768b67f3b4d36620f4613eee)
[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [WD Proxy] Got response with status 200: {
[debug] [WD Proxy] "value" : {
[debug] [WD Proxy] "message" : "WebDriverAgent is ready to accept commands",
[debug] [WD Proxy] "state" : "success",
[debug] [WD Proxy] "os" : {
[debug] [WD Proxy] "name" : "iOS",
[debug] [WD Proxy] "version" : "10.1",
[debug] [WD Proxy] "sdkVersion" : "13.0"
[debug] [WD Proxy] },
[debug] [WD Proxy] "ios" : {
[debug] [WD Proxy] "simulatorVersion" : "10.1",
[debug] [WD Proxy] "ip" : "192.168.36.41"
[debug] [WD Proxy] },
[debug] [WD Proxy] "ready" : true,
[debug] [WD Proxy] "build" : {
[debug] [WD Proxy] "productBundleIdentifier" : "com.facebook.WebDriverAgentRunner",
[debug] [WD Proxy] "upgradedAt" : "1572426977249",
[debug] [WD Proxy] "time" : "Oct 31 2019 11:55:37"
[debug] [WD Proxy] }
[debug] [WD Proxy] },
[debug] [WD Proxy] "sessionId" : "FA91E784-EEE2-4F1A-B99E-0D301167D0F9"
[debug] [WD Proxy] }
[debug] [XCUITest] WebDriverAgent information:
[debug] [XCUITest] {
[debug] [XCUITest] "message": "WebDriverAgent is ready to accept commands",
[debug] [XCUITest] "state": "success",
[debug] [XCUITest] "os": {
[debug] [XCUITest] "name": "iOS",
[debug] [XCUITest] "version": "10.1",
[debug] [XCUITest] "sdkVersion": "13.0"
[debug] [XCUITest] },
[debug] [XCUITest] "ios": {
[debug] [XCUITest] "simulatorVersion": "10.1",
[debug] [XCUITest] "ip": "192.168.36.41"
[debug] [XCUITest] },
[debug] [XCUITest] "ready": true,
[debug] [XCUITest] "build": {
[debug] [XCUITest] "productBundleIdentifier": "com.facebook.WebDriverAgentRunner",
[debug] [XCUITest] "upgradedAt": "1572426977249",
[debug] [XCUITest] "time": "Oct 31 2019 11:55:37"
[debug] [XCUITest] }
[debug] [XCUITest] }
[debug] [XCUITest] WebDriverAgent successfully started after 53852ms
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1572497782135 (11:56:22 GMT+0700 (Indochina Time))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.apple.mobilesafari","arguments":["-u","http://appium.io"],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}],"alwaysMatch":{}}}
[debug] [RemoteDebugger] Notified that new application 'PID:7567' has connected
[debug] [RemoteDebugger] Found app id key 'PID:7567' for bundle 'com.apple.mobilesafari'
[debug] [RemoteDebugger] Notified that new application 'PID:7570' has connected
[debug] [RemoteDebugger] Page changed: {
[debug] [RemoteDebugger] "1": {
[debug] [RemoteDebugger] "WIRTitleKey": "",
[debug] [RemoteDebugger] "WIRTypeKey": "WIRTypeWeb",
[debug] [RemoteDebugger] "WIRURLKey": "about:blank",
[debug] [RemoteDebugger] "WIRPageIdentifierKey": 1
[debug] [RemoteDebugger] }
[debug] [RemoteDebugger] }
[debug] [XCUITest] Remote debugger notified us of a new page listing: {"appIdKey":"7570","pageArray":[{"id":1,"title":"","url":"about:blank","isKey":false}]}
[debug] [XCUITest] No key id found. Choosing first id from page array
[debug] [XCUITest] We do not appear to have window set yet, ignoring
[debug] [RemoteDebugger] Page changed: {
[debug] [RemoteDebugger] "1": {
[debug] [RemoteDebugger] "WIRTitleKey": "Appium: Mobile App Automation Made Awesome.",
[debug] [RemoteDebugger] "WIRTypeKey": "WIRTypeWeb",
[debug] [RemoteDebugger] "WIRURLKey": "http://appium.io/",
[debug] [RemoteDebugger] "WIRPageIdentifierKey": 1
[debug] [RemoteDebugger] }
[debug] [RemoteDebugger] }
[debug] [XCUITest] Remote debugger notified us of a new page listing: {"appIdKey":"7570","pageArray":[{"id":1,"title":"Appium: Mobile App Automation Made Awesome.","url":"http://appium.io/","isKey":false}]}
[debug] [XCUITest] No key id found. Choosing first id from page array
[debug] [XCUITest] We do not appear to have window set yet, ignoring
[debug] [RemoteDebugger] Received page change notice for app 'PID:7570' but the listing has not changed. Ignoring.
[debug] [RemoteDebugger] Received page change notice for app 'PID:7570' but the listing has not changed. Ignoring.
[debug] [RemoteDebugger] Received page change notice for app 'PID:7570' but the listing has not changed. Ignoring.
[debug] [RemoteDebugger] Received page change notice for app 'PID:7570' but the listing has not changed. Ignoring.
[debug] [RemoteDebugger] Received page change notice for app 'PID:7570' but the listing has not changed. Ignoring.
[debug] [RemoteDebugger] Received page change notice for app 'PID:7570' but the listing has not changed. Ignoring.
[debug] [RemoteDebugger] Received page change notice for app 'PID:7570' but the listing has not changed. Ignoring.
[debug] [WD Proxy] Got response with status 200: {"value":{"sessionId":"EEA6099D-429E-465C-B43C-5775B8195835","capabilities":{"device":"iphone","browserName":"Safari","sdkVersion":"10.1","CFBundleIdentifier":"com.apple.mobilesafari"}},"sessionId":"EEA6099D-429E-465C-B43C-5775B8195835"}
[WD Proxy] Determined the downstream protocol as 'W3C'
[debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1572497792410 (11:56:32 GMT+0700 (Indochina Time))
[debug] [BaseDriver] Event 'wdaStarted' logged at 1572497792410 (11:56:32 GMT+0700 (Indochina Time))
[XCUITest] Skipping setting of the initial display orientation. Set the "orientation" capability to either "LANDSCAPE" or "PORTRAIT", if this is an undesired behavior.
[debug] [BaseDriver] Event 'orientationSet' logged at 1572497792411 (11:56:32 GMT+0700 (Indochina Time))
[debug] [XCUITest] Waiting for initial webview
[debug] [iOS] Navigating to most recently opened webview
[debug] [iOS] Retrieving contexts and views
[debug] [XCUITest] Selecting by url: false
[debug] [RemoteDebugger] Selecting application
[debug] [RemoteDebugger] Current applications available:
[debug] [RemoteDebugger] Application: 'PID:7567'
[debug] [RemoteDebugger] id: "PID:7567"
[debug] [RemoteDebugger] isProxy: false
[debug] [RemoteDebugger] name: "Safari"
[debug] [RemoteDebugger] bundleId: "com.apple.mobilesafari"
[debug] [RemoteDebugger] hostId: undefined
[debug] [RemoteDebugger] isActive: 1
[debug] [RemoteDebugger] isAutomationEnabled: false
[debug] [RemoteDebugger] pageArray: 'Waiting for data'
[debug] [RemoteDebugger] Application: 'PID:7570'
[debug] [RemoteDebugger] id: "PID:7570"
[debug] [RemoteDebugger] isProxy: true
[debug] [RemoteDebugger] name: ""
[debug] [RemoteDebugger] bundleId: "com.apple.WebKit.WebContent"
[debug] [RemoteDebugger] hostId: "PID:7567"
[debug] [RemoteDebugger] isActive: 1
[debug] [RemoteDebugger] isAutomationEnabled: false
[debug] [RemoteDebugger] pageArray:
[debug] [RemoteDebugger] - id: 1
[debug] [RemoteDebugger] title: "Appium: Mobile App Automation Made Awesome."
[debug] [RemoteDebugger] url: "http://appium.io/"
[debug] [RemoteDebugger] isKey: false
[debug] [RemoteDebugger] Found app id key 'PID:7567' for bundle 'com.apple.mobilesafari'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.WebKit.WebContent' acting as proxy for 'com.apple.mobilesafari', with app id 'PID:7570'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:7567, PID:7570 (try #1 of 20)
[debug] [RemoteDebugger] Attempting app 'PID:7567'
[debug] [RemoteDebugger] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[debug] [RemoteDebugger] >>>>> CMD: {"__argument":{"WIRConnectionIdentifierKey":"7c49f2b8-bb3f-41b0-9df4-578b8761d1b0","WIRApplicationIdentifierKey":"PID:7567"},"__selector":"_rpc_forwardGetListing:"}
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to app 'PID:7567' (id: 2)
[debug] [RemoteDebugger] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[debug] [RemoteDebugger] >>>>> CMD: {"__argument":{"WIRSocketDataKey":{"method":"Runtime.evaluate","params":{"objectGroup":"console","includeCommandLineAPI":true,"doNotPauseOnExceptionsAndMuteConsole":true,"expression":"1;","returnByValue":true}},"WIRConnectionIdentifierKey":"7c49f2b8-bb3f-41b0-9df4-578b8761d1b0","WIRSenderKey":"f323f38d-22ef-4137-99e3-8dfb2b98c762","WIRAutomaticallyPause":true,"WIRApplicationIdentifierKey":"PID:7567"},"__selector":"_rpc_forwardSocketData:"}
[debug] [RemoteDebugger] Sending '_rpc_forwardSocketData:' message to app 'PID:7567' (id: 3)
[debug] [RemoteDebugger] Received response from send (id: 2): '["PID:7567",{}]'
[debug] [RemoteDebugger] <<<<< CMD: ["PID:7567",{}]
[debug] [RemoteDebugger] <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[debug] [RemoteDebugger] Sending to Web Inspector took 11ms
[debug] [RemoteDebugger] Empty page dictionary received
[debug] [RemoteDebugger] Error checking application: 'Empty page dictionary received'. Retrying connection
[debug] [RemoteDebugger] Attempting app 'PID:7570'
[debug] [RemoteDebugger] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[debug] [RemoteDebugger] >>>>> CMD: {"__argument":{"WIRConnectionIdentifierKey":"7c49f2b8-bb3f-41b0-9df4-578b8761d1b0","WIRApplicationIdentifierKey":"PID:7570"},"__selector":"_rpc_forwardGetListing:"}
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to app 'PID:7570' (id: 4)
[debug] [RemoteDebugger] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[debug] [RemoteDebugger] >>>>> CMD: {"__argument":{"WIRSocketDataKey":{"method":"Runtime.evaluate","params":{"objectGroup":"console","includeCommandLineAPI":true,"doNotPauseOnExceptionsAndMuteConsole":true,"expression":"1;","returnByValue":true}},"WIRConnectionIdentifierKey":"7c49f2b8-bb3f-41b0-9df4-578b8761d1b0","WIRSenderKey":"f323f38d-22ef-4137-99e3-8dfb2b98c762","WIRAutomaticallyPause":true,"WIRApplicationIdentifierKey":"PID:7570"},"__selector":"_rpc_forwardSocketData:"}
[debug] [RemoteDebugger] Sending '_rpc_forwardSocketData:' message to app 'PID:7570' (id: 5)
[debug] [RemoteDebugger] Application 'PID:7567' disconnected. Removing from app dictionary.
[debug] [RemoteDebugger] Current app is PID:7567
[debug] [RemoteDebugger] No longer have app id. Attempting to find new one.
^C[Appium] Received SIGINT - shutting down
[debug] [RemoteDebugger] Application 'PID:7570' disconnected. Removing from app dictionary.
[debug] [RemoteDebugger] Current app is undefined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment