Skip to content

Instantly share code, notes, and snippets.

@vicwomg
Created June 16, 2016 23:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vicwomg/4ce9faec082404f88768a9c5fd3f1c25 to your computer and use it in GitHub Desktop.
Save vicwomg/4ce9faec082404f88768a9c5fd3f1c25 to your computer and use it in GitHub Desktop.
[HTTP] --> GET /wd/hub/session/bb790c32-b6e3-4db1-91c9-2565304035c2/contexts {}
[MJSONWP] Calling AppiumDriver.getContexts() with args: ["bb790c32-b6e3-4db1-91c9-2...
[debug] [iOS] Executing iOS command 'getContexts'
[debug] [iOS] Getting list of available contexts
[debug] [iOS] Retrieving contexts and views
[debug] [iOS] Selecting by url: false
[debug] [RemoteDebugger] useNewSafari --> false
[debug] [RemoteDebugger] Debugger socket connected to ::1:27753
[debug] [RemoteDebugger] Sending connection key request
[debug] [RemoteDebugger] Sending '_rpc_reportIdentifier:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__selector":"_rpc_reportSetup:","__argument":{"WIRSimulatorNameKey":"iPhone Simulator","WIRSimulatorProductVersionKey":"8.1","WIRSimulatorBuildKey":"12B411"}}'
[debug] [RemoteDebugger] Received response from socket send: '["iPhone Simulator","12B411...'
[debug] [RemoteDebugger] Sim name: iPhone Simulator
[debug] [RemoteDebugger] Sim build: 12B411
[debug] [RemoteDebugger] Sim platform version: 8.1
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__selector":"_rpc_reportConnectedApplicationList:","__argument":{"WIRApplicationDictionaryKey":{"PID:44442":{"WIRApplicationBundleIdentifierKey":"com.apple.WebKit.WebContent","WIRHostApplicationIdentifierKey":"PID:44369","WIRApplicationNameKey":"","WIRIsApplicationProxyKey":true,"WIRIsApplicationActiveKey":0,"WIRApplicationIdentifierKey":"PID:44442"},"PID:44434":{"WIRApplicationBundleIdentifierKey":"com.apple.WebKit.WebContent","WIRHostApplicationIdentifierKey":"PID:44369","WIRApplicationNameKey":"","WIRIsApplicationProxyKey":true,"WIRIsApplicationActiveKey":0,"WIRApplicationIdentifierKey":"PID:44434"},"PID:44447":{"WIRApplicationBundleIdentifierKey":"com.apple.WebKit.WebContent","WIRHostApplicationIdentifierKey":"PID:44369","WIRApplicationNameKey":"","WIRIsApplicationProxyKey":true,"WIRIsApplicationActiveKey":0,"WIRApplicationIdentifierKey":"PID:44447"},"PID:44369":{"WIRApplicationBundleIdentifierKey":"com.myapptest","WIRApplicationNameKey":"myapptest","WIRIsApplicationProxyKey":false,"WIRIsApplicationActiveKey":1,"WIRApplicationIdentifierKey":"PID:44369"}}}}'
[debug] [RemoteDebugger] Connected to application
[debug] [RemoteDebugger] Selecting application
[debug] [RemoteDebugger] Found app id key 'PID:44369' for bundle 'com.myapptest'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.WebKit.WebContent' acting as proxy for 'com.myapptest', with app id 'PID:44442'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.WebKit.WebContent' acting as proxy for 'com.myapptest', with app id 'PID:44434'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.WebKit.WebContent' acting as proxy for 'com.myapptest', with app id 'PID:44447'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:44442, PID:44434, PID:44447
[debug] [RemoteDebugger] Selecting app PID:44442 (try #1 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__selector":"_rpc_applicationSentListing:","__argument":{"WIRApplicationIdentifierKey":"PID:44442","WIRListingKey":{"1":{"WIRPageIdentifierKey":1,"WIRURLKey":"about:blank","WIRTitleKey":"","WIRTypeKey":"WIRTypeWeb"}}}}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:44442",{"1":{"WIRPage...'
[debug] [RemoteDebugger] Received page change notice for app PID:44442 but listening for null. Ignoring.
[debug] [RemoteDebugger] Received altered app id, updating from 'null' to 'PID:44442'
[debug] [RemoteDebugger] Selecting app PID:44442: [{"id":1,"title":"","url":"about:blank","isKey":false}]
[debug] [UIAuto] Sending command to instruments: au.alertIsPresent()
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__selector":"_rpc_applicationSentListing:","__argument":{"WIRApplicationIdentifierKey":"PID:44369","WIRListingKey":{"5":{"WIRPageIdentifierKey":5,"WIRURLKey":"file:///Users/vic/Library/Developer/CoreSimulator/Devices/11197742-4D58-45E4-B552-8BEF9866F299/data/Containers/Bundle/Application/84B910BA-D7F1-4428-A844-C7172D8949E2/myapptest.app/onboarding_terms.html","WIRTitleKey":"","WIRTypeKey":"WIRTypeWeb"}}}}'
[debug] [RemoteDebugger] Received page change notice for app PID:44369 but listening for PID:44442. Ignoring.
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__selector":"_rpc_applicationSentListing:","__argument":{"WIRApplicationIdentifierKey":"PID:44434","WIRListingKey":{"1":{"WIRPageIdentifierKey":1,"WIRURLKey":"about:blank","WIRTitleKey":"","WIRTypeKey":"WIRTypeWeb"}}}}'
[debug] [RemoteDebugger] Received page change notice for app PID:44434 but listening for PID:44442. Ignoring.
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__selector":"_rpc_applicationSentListing:","__argument":{"WIRApplicationIdentifierKey":"PID:44447","WIRListingKey":{"1":{"WIRPageIdentifierKey":1,"WIRURLKey":"about:blank","WIRTitleKey":"","WIRTypeKey":"WIRTypeWeb"}}}}'
[debug] [RemoteDebugger] Received page change notice for app PID:44447 but listening for PID:44442. Ignoring.
[debug] [Instruments] [INST] 2016-06-16 23:07:46 +0000 Debug: Got new command 41 from instruments: au.alertIsPresent()
[debug] [Instruments] [INST] 2016-06-16 23:07:46 +0000 Debug: evaluating au.alertIsPresent()
[debug] [Instruments] [INST] 2016-06-16 23:07:49 +0000 Debug: evaluation finished
[debug] [Instruments] [INST] 2016-06-16 23:07:49 +0000 Debug: responding with:
[debug] [Instruments] [INST] 2016-06-16 23:07:49 +0000 Debug: Running system command #42: /Applications/Appium-1.5.2.app/Contents/Resources/node/bin/node /Users/vic/git/appium/builds/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js /var/folders/_0/mfxmfms95399181fm924s5740000ks/T/instruments_sock 2,{"status":0,"value":false}...
[debug] [UIAuto] Socket data received (28 bytes)
[debug] [UIAuto] Got result from instruments: {"status":0,"value":false}
[debug] [UIAuto] Sending command to instruments: au.alertIsPresent()
[HTTP] --> GET /wd/hub/status {}
[MJSONWP] Calling AppiumDriver.getStatus() with args: []
[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"...
[HTTP] <-- GET /wd/hub/status 200 11 ms - 121
[debug] [Instruments] [INST] 2016-06-16 23:07:54 +0000 Debug: Got new command 42 from instruments: au.alertIsPresent()
[debug] [Instruments] [INST] 2016-06-16 23:07:54 +0000 Debug: evaluating au.alertIsPresent()
[debug] [Instruments] [INST] 2016-06-16 23:07:59 +0000 Debug: evaluation finished
[debug] [Instruments] [INST] 2016-06-16 23:07:59 +0000 Debug: responding with:
[debug] [Instruments] [INST] 2016-06-16 23:07:59 +0000 Debug: Running system command #43: /Applications/Appium-1.5.2.app/Contents/Resources/node/bin/node /Users/vic/git/appium/builds/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js /var/folders/_0/mfxmfms95399181fm924s5740000ks/T/instruments_sock 2,{"status":0,"value":false}...
[debug] [UIAuto] Socket data received (28 bytes)
[debug] [UIAuto] Got result from instruments: {"status":0,"value":false}
[debug] [UIAuto] Sending command to instruments: au.alertIsPresent()
[debug] [Instruments] [INST] 2016-06-16 23:08:04 +0000 Debug: Got new command 43 from instruments: au.alertIsPresent()
[debug] [Instruments] [INST] 2016-06-16 23:08:04 +0000 Debug: evaluating au.alertIsPresent()
[debug] [Instruments] [INST] 2016-06-16 23:08:06 +0000 Debug: evaluation finished
[debug] [Instruments] [INST] 2016-06-16 23:08:06 +0000 Debug: responding with:
[debug] [Instruments] [INST] 2016-06-16 23:08:06 +0000 Debug: Running system command #44: /Applications/Appium-1.5.2.app/Contents/Resources/node/bin/node /Users/vic/git/appium/builds/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js /var/folders/_0/mfxmfms95399181fm924s5740000ks/T/instruments_sock 2,{"status":0,"value":false}...
[debug] [UIAuto] Socket data received (28 bytes)
[debug] [UIAuto] Got result from instruments: {"status":0,"value":false}
[MJSONWP] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_4444...
[HTTP] <-- GET /wd/hub/session/bb790c32-b6e3-4db1-91c9-2565304035c2/contexts 200 25606 ms - 104
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment