Skip to content

Instantly share code, notes, and snippets.

@jerislee
Created April 13, 2020 08:49
Show Gist options
  • Save jerislee/82c6722b6e9157dbabcf0e43e6378107 to your computer and use it in GitHub Desktop.
Save jerislee/82c6722b6e9157dbabcf0e43e6378107 to your computer and use it in GitHub Desktop.
[HTTP] --> GET /wd/hub/session/245bdd4c-075a-4b65-ba95-b338941ae1c4/contexts
[HTTP] {}
[debug] [W3C (245bdd4c)] Calling AppiumDriver.getContexts() with args: ["245bdd4c-075a-4b65-ba95-b338941ae1c4"]
[debug] [XCUITest] Executing command 'getContexts'
[debug] [XCUITest] Getting list of available contexts
[debug] [iOS] Retrieving contexts and views
[debug] [XCUITest] Selecting by url: false
[debug] [RemoteDebugger] Sending connection key request
[debug] [RemoteDebugger] Sending '_rpc_reportIdentifier:' message (id: 2): 'setConnectionKey'
[debug] [RemoteDebugger] Sending to Web Inspector took 8ms
[debug] [RemoteDebugger] Selecting application
[debug] [RemoteDebugger] No applications currently connected.
[debug] [XCUITest] No web frames found.
[debug] [W3C (245bdd4c)] Responding to client with driver.getContexts() result: ["NATIVE_APP"]
[HTTP] <-- GET /wd/hub/session/245bdd4c-075a-4b65-ba95-b338941ae1c4/contexts 200 12 ms - 24
[HTTP]
[HTTP] --> GET /wd/hub/session/245bdd4c-075a-4b65-ba95-b338941ae1c4/context
[HTTP] {}
[debug] [W3C (245bdd4c)] Calling AppiumDriver.getCurrentContext() with args: ["245bdd4c-075a-4b65-ba95-b338941ae1c4"]
[debug] [XCUITest] Executing command 'getCurrentContext'
[debug] [W3C (245bdd4c)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /wd/hub/session/245bdd4c-075a-4b65-ba95-b338941ae1c4/context 200 5 ms - 22
[HTTP]
[debug] [RemoteDebugger] Received connected applications list: PID:6317
[debug] [RemoteDebugger] Received connected driver list: {}
[debug] [RemoteDebugger] Notified that new application 'PID:6355' has connected
[debug] [RemoteDebugger] Page changed: {
[debug] [RemoteDebugger] "7": {
[debug] [RemoteDebugger] "WIRTitleKey": "信用卡付款",
[debug] [RemoteDebugger] "WIRTypeKey": "WIRTypeWeb",
[debug] [RemoteDebugger] "WIRURLKey": "https://aserv.qa.devsite.cn/V2/Pay?k=16cbe8d7-97c8-4c4f-8538-7817a3a3d5a4&doorId=12210",
[debug] [RemoteDebugger] "WIRPageIdentifierKey": 7
[debug] [RemoteDebugger] }
[debug] [RemoteDebugger] }
[debug] [XCUITest] Remote debugger notified us of a new page listing: {"appIdKey":"6317","pageArray":[{"id":7,"title":"信用卡付款","url":"https://aserv.qa.devsite.cn/V2/Pay?k=16cbe8d7-97c8-4c4f-8538-7817a3a3d5a4&doorId=12210","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
[HTTP] --> GET /wd/hub/session/245bdd4c-075a-4b65-ba95-b338941ae1c4/context
[HTTP] {}
[debug] [W3C (245bdd4c)] Calling AppiumDriver.getCurrentContext() with args: ["245bdd4c-075a-4b65-ba95-b338941ae1c4"]
[debug] [XCUITest] Executing command 'getCurrentContext'
[debug] [W3C (245bdd4c)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[HTTP] <-- GET /wd/hub/session/245bdd4c-075a-4b65-ba95-b338941ae1c4/context 200 2 ms - 22
[HTTP]
[HTTP] --> GET /wd/hub/session/245bdd4c-075a-4b65-ba95-b338941ae1c4/contexts
[HTTP] {}
[debug] [W3C (245bdd4c)] Calling AppiumDriver.getContexts() with args: ["245bdd4c-075a-4b65-ba95-b338941ae1c4"]
[debug] [XCUITest] Executing command 'getContexts'
[debug] [XCUITest] Getting list of available contexts
[debug] [iOS] Retrieving contexts and views
[debug] [XCUITest] Selecting by url: false
[debug] [RemoteDebugger] Sending connection key request
[debug] [RemoteDebugger] Sending '_rpc_reportIdentifier:' message (id: 3): 'setConnectionKey'
[debug] [RemoteDebugger] Sending to Web Inspector took 5ms
[debug] [RemoteDebugger] Selecting application
[debug] [RemoteDebugger] Current applications available:
[debug] [RemoteDebugger] Application: "PID:6317"
[debug] [RemoteDebugger] id: "PID:6317"
[debug] [RemoteDebugger] isProxy: false
[debug] [RemoteDebugger] name: "MCYAppdoor"
[debug] [RemoteDebugger] bundleId: "cc.MCC.MCY.door.dev"
[debug] [RemoteDebugger] hostId: undefined
[debug] [RemoteDebugger] isActive: true
[debug] [RemoteDebugger] isAutomationEnabled: "Unknown"
[debug] [RemoteDebugger] pageArray:
[debug] [RemoteDebugger] - id: 7
[debug] [RemoteDebugger] title: "信用卡付款"
[debug] [RemoteDebugger] url: "https://aserv.qa.devsite.cn/V2/Pay?k=16cbe8d7-97c8-4c4f-8538-7817a3a3d5a4&doorId=12210"
[debug] [RemoteDebugger] isKey: false
[debug] [RemoteDebugger] Application: "PID:6355"
[debug] [RemoteDebugger] id: "PID:6355"
[debug] [RemoteDebugger] isProxy: true
[debug] [RemoteDebugger] name: "com.apple.WebKit.WebContent"
[debug] [RemoteDebugger] bundleId: "process-com.apple.WebKit.WebContent"
[debug] [RemoteDebugger] hostId: "PID:6317"
[debug] [RemoteDebugger] isActive: true
[debug] [RemoteDebugger] isAutomationEnabled: "Unknown"
[debug] [RemoteDebugger] pageArray: "Waiting for data"
[debug] [RemoteDebugger] Checking for bundle identifiers: com.apple.WebKit.WebContent, process-com.apple.WebKit.WebContent, process-SafariViewService, com.apple.SafariViewService, *, cc.MCC.MCY.door.s012210, com.apple.mobilesafari
[debug] [RemoteDebugger] Found app id key 'PID:6355' for bundle 'com.apple.WebKit.WebContent'
[debug] [RemoteDebugger] Found app id key 'PID:6355' for bundle 'process-com.apple.WebKit.WebContent'
[debug] [RemoteDebugger] Found app id key 'PID:6355' for bundle 'process-SafariViewService'
[debug] [RemoteDebugger] Found app id key 'PID:6355' for bundle 'com.apple.SafariViewService'
[debug] [RemoteDebugger] Found app id key 'PID:6355' for bundle '*'
[debug] [RemoteDebugger] Found app id key 'PID:6355' for bundle 'cc.MCC.MCY.door.s012210'
[debug] [RemoteDebugger] Found app id key 'PID:6355' for bundle 'com.apple.mobilesafari'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:6355 (try #1 of 20)
[debug] [RemoteDebugger] Attempting app 'PID:6355'
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to app 'PID:6355' (id: 4): 'connectToApp'
[debug] [RemoteDebugger] Received response from send (id: 4): '["PID:6355",{}]'
[debug] [RemoteDebugger] Sending to Web Inspector took 15ms
[debug] [RemoteDebugger] Empty page dictionary received
[debug] [RemoteDebugger] Error checking application: 'Empty page dictionary received'. Retrying connection
@MasonIT
Copy link

MasonIT commented Aug 24, 2021

Hi, have you solved this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment