Skip to content

Instantly share code, notes, and snippets.

@midopa
Created October 19, 2016 21:11
Show Gist options
  • Save midopa/8318247111f524d6c42504a909e71445 to your computer and use it in GitHub Desktop.
Save midopa/8318247111f524d6c42504a909e71445 to your computer and use it in GitHub Desktop.
[Appium] Welcome to Appium v1.6.0 (REV 790d9e8df0b76361f8167ad53ef5de373a90a7d4)
[Appium] Non-default server args:
[Appium] port: 12344
[Appium] Appium REST http interface listener started on 0.0.0.0:12344
[HTTP] --> POST /wd/hub/session {"requiredCapabilities":{},"desiredCapabilities":{"deviceName":"iPad Air","browserName":"Safari","platformVersion":"10.0","safariAllowPopups":true,"platformName":"iOS","port":12344}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"iPad Air","...
[Appium] Requested iOS support with version >= 10, using XCUITest driver instead of UIAutomation-based driver, since the latter is unsupported on iOS 10 and up.
[Appium] Creating new XCUITestDriver session
[Appium] Capabilities:
[Appium] deviceName: 'iPad Air'
[Appium] browserName: 'Safari'
[Appium] platformVersion: '10.0'
[Appium] safariAllowPopups: true
[Appium] platformName: 'iOS'
[Appium] port: 12344
[debug] [XCUITest] XCUITestDriver version: 2.0.29
[BaseDriver] The following capabilities were provided, but are not recognized by appium: port.
[BaseDriver] Session created with session id: 4b148c03-abf0-496f-876e-649226efcf29
[debug] [XCUITest] Xcode version set to '8.0'
[debug] [XCUITest] iOS SDK Version set to '10.0'
[iOSSim] Constructing iOS simulator for Xcode version 8.0 with udid '491FF57A-4FB9-456C-A8DD-3077290A9D22'
[XCUITest] Determining device to run tests on: udid: '491FF57A-4FB9-456C-A8DD-3077290A9D22', real device: false
[XCUITest] Safari test requested
[debug] [iOSLog] Starting iOS 10.0 simulator log capture
[debug] [iOSLog] System log path: /Users/parks169/Library/Logs/CoreSimulator/491FF57A-4FB9-456C-A8DD-3077290A9D22/system.log
[XCUITest] Setting up simulator
[debug] [iOS] No reason to set locale
[debug] [iOS] Setting iOS and app preferences
[debug] [iOS] No simulator directories found.
[debug] [iOSSim] Attempting to launch and quit the simulator, to create directory structure
[debug] [iOSSim] Will launch with Safari? true
[iOSSim] Starting simulator with command: open /Applications/Xcode8.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID 491FF57A-4FB9-456C-A8DD-3077290A9D22
[iOSSim] Tailing simulator logs until we encounter the string "SMS Plugin initialized"
[iOSSim] We will time out after 60000ms
[debug] [iOSSim] Waiting an extra 10000ms for the simulator to really finish booting
[debug] [iOSSim] Done waiting extra time for simulator
[iOSSim] Simulator booted in 45336ms
[iOSSim] Tailing simulator logs until we encounter the string "MobileSafari["
[iOSSim] We will time out after 15000ms
[debug] [iOSSim] Safari started, waiting 3000ms for it to fully start
[debug] [iOSSim] Done waiting for Safari
[debug] [iOSSim] Killing all iOS Simulators
[debug] [iOS] Setting javascript window opening to 'true'
[debug] [iOSSim] Updating Safari user settings
[debug] [iOSSim] Building bundle path map
[debug] [iOS] Updated plist files, rebooting the simulator if it's already open
[debug] [iOS] Killing the simulator
[debug] [iOSSim] Killing all iOS Simulators
[XCUITest] Simulator with udid '491FF57A-4FB9-456C-A8DD-3077290A9D22' not booted. Booting up now
[debug] [iOSSim] Killing all iOS Simulators
[iOSSim] Starting simulator with command: open /Applications/Xcode8.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID 491FF57A-4FB9-456C-A8DD-3077290A9D22
[iOSSim] Tailing simulator logs until we encounter the string "SMS Plugin initialized"
[iOSSim] We will time out after 60000ms
[debug] [iOSSim] Waiting an extra 10000ms for the simulator to really finish booting
[debug] [iOSSim] Done waiting extra time for simulator
[iOSSim] Simulator booted in 16464ms
[XCUITest] Using default agent: /Users/parks169/code/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj
[XCUITest] Using default bootstrap: /Users/parks169/code/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: /usr/local/bin/carthage
[debug] [XCUITest] Beginning test with command 'xcodebuild build test -project /Users/parks169/code/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=491FF57A-4FB9-456C-A8DD-3077290A9D22 -configuration Debug' in directory '/Users/parks169/code/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Waiting for WebDriverAgent to start on device
[debug] [XCUITest] Log file for xcodebuild test: /Users/parks169/Library/Developer/Xcode/DerivedData/WebDriverAgent-akyxkdoisucvbqetdypiexrqxiip/Logs/Test/657F90DA-4F75-45F5-BE12-1BEFFEAD627E/Session-WebDriverAgentRunner-2016-10-19_140641-hA205p.log
[debug] [WebDriverAgent] Sim: Oct 19 14:06:46 WASE-AM02017490 CoreSimulatorBridge[2584]: Requesting installation of file:///Users/parks169/Library/Developer/Xcode/DerivedData/WebDriverAgent-akyxkdoisucvbqetdypiexrqxiip/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app/ with options: {
[debug] [WebDriverAgent] Sim: CFBundleIdentifier = "com.apple.test.WebDriverAgentRunner-Runner";
[debug] [WebDriverAgent] Sim: PackageType = Developer;
[debug] [WebDriverAgent] Sim: SimulatorRootPath = "/Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk";
[debug] [WebDriverAgent] Sim: SimulatorUserPath = "/Users/parks169/Library/Developer/CoreSimulator/Devices/491FF57A-4FB9-456C-A8DD-3077290A9D22/data";
[debug] [WebDriverAgent] Sim: }
[debug] [WebDriverAgent] Sim: Oct 19 14:06:48 WASE-AM02017490 CoreSimulatorBridge[2584]: Getting container class internal daemon!
[debug] [WebDriverAgent] Sim: Oct 19 14:06:52 WASE-AM02017490 CoreSimulatorBridge[2584]: Requesting launch of com.apple.test.WebDriverAgentRunner-Runner with options: {
[debug] [WebDriverAgent] Sim: arguments = (
[debug] [WebDriverAgent] Sim: "-NSTreatUnknownArgumentsAsOpen",
[debug] [WebDriverAgent] Sim: NO,
[debug] [WebDriverAgent] Sim: "-ApplePersistenceIgnoreState",
[debug] [WebDriverAgent] Sim: YES
[debug] [WebDriverAgent] Sim: );
[debug] [WebDriverAgent] Sim: environment = {
[debug] [WebDriverAgent] Sim: "DTX_CONNECTION_SERVICES_PATH" = "/Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Developer/Library/PrivateFrameworks/DTXConnectionServices.framework";
[debug] [WebDriverAgent] Sim: "DYLD_FRAMEWORK_PATH" = "/Users/parks169/Library/Developer/Xcode/DerivedData/WebDriverAgent-akyxkdoisucvbqetdypiexrqxiip/Build/Products/Debug-iphonesimulator:/Users/parks169/Library/Developer/Xcode/DerivedData/WebDriverAgent-akyxkdoisucvbqetdypiexrqxiip/Build/Products/Debug-iphonesimulator:/Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks";
[debug] [WebDriverAgent] Sim: "DYLD_LIBRARY_PATH" = "/Users/parks169/Library/Developer/Xcode/DerivedData/WebDriverAgent-akyxkdoisucvbqetdypiexrqxiip/Build/Products/Debug-iphonesimulator:/Users/parks169/Library/Developer/Xcode/DerivedData/WebDriverAgent-akyxkdoisucvbqetdypiexrqxiip/Build/Products/Debug-iphonesimulator:/Applications/Xcode8.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks";
[debug] [WebDriverAgent] Sim: NSUnbufferedIO = YES;
[debug] [WebDriverAgent] Sim: "OS_ACTIVITY_DT_MODE" = YES;
[debug] [WebDriverAgent] Sim: "XCODE_DBG_XPC_EXCLUSIONS" = "com.apple.dt.xctestSymbolicator";
[debug] [WebDriverAgent] Sim: XCTestConfigurationFilePath = "/var/folders/fl/3sz0mk713kj7khyhwnwqntwxtcg7w2/T/com.apple.dt.XCTest/5E8393FA-C049-4239-8A23-61AB8388741F/remote-container/tmp/WebDriverAgentRunner-5E8393FA-C049-4239-8A23-61AB8388741F.xctestconfiguration";
[debug] [WebDriverAgent] Sim: "__XCODE_BUILT_PRODUCTS_DIR_PATHS" = "/Users/parks169/Library/Developer/Xcode/DerivedData/WebDriverAgent-akyxkdoisucvbqetdypiexrqxiip/Build/Products/Debug-iphonesimulator";
[debug] [WebDriverAgent] Sim: "__XPC_DYLD_FRAMEWORK_PATH" = "/Users/parks169/Library/Developer/Xcode/DerivedData/WebDriverAgent-akyxkdoisucvbqetdypiexrqxiip/Build/Products/Debug-iphonesimulator";
[debug] [WebDriverAgent] Sim: "__XPC_DYLD_LIBRARY_PATH" = "/Users/parks169/Library/Developer/Xcode/DerivedData/WebDriverAgent-akyxkdoisucvbqetdypiexrqxiip/Build/Products/Debug-iphonesimulator";
[debug] [WebDriverAgent] Sim: };
[debug] [WebDriverAgent] Sim: stderr = "/dev/ttys001";
[debug] [WebDriverAgent] Sim: stdout = "/dev/ttys001";
[debug] [WebDriverAgent] Sim: "wait_for_debugger" = 0;
[debug] [WebDriverAgent] Sim: }
[debug] [WebDriverAgent] Sim: Oct 19 14:06:52 WASE-AM02017490 CoreSimulatorBridge[2584]: [Common] [FBSSystemService][0x6e1e] Sending request to open "com.apple.test.WebDriverAgentRunner-Runner"
[debug] [WebDriverAgent] Sim: Oct 19 14:06:52 WASE-AM02017490 CoreSimulatorBridge[2584]: [Common] [FBSSystemService][0x6e1e] Request successful: <FBSProcessHandle: 0x7fbc73f0e4f0; XCTRunner:2921; valid: YES>
[debug] [WebDriverAgent] Sim: Oct 19 14:06:52 WASE-AM02017490 XCTRunner[2921]: assertion failed: 15G1004 14A345: libxpc.dylib + 62597 [37A9DF49-35C1-3D93-B854-B35CACF0100F]: 0x7d
[debug] [WebDriverAgent] Sim: Oct 19 14:06:52 WASE-AM02017490 XCTRunner[2921]: Running tests...
[debug] [WebDriverAgent] Sim: Oct 19 14:06:53 --- last message repeated 4 times ---
[debug] [WebDriverAgent] Sim: Oct 19 14:06:53 WASE-AM02017490 XCTRunner[2921]: Continuing to run tests in the background with task ID 1
[debug] [WebDriverAgent] Sim: Oct 19 14:06:54 --- last message repeated 9 times ---
[debug] [WebDriverAgent] Sim: Oct 19 14:06:54 WASE-AM02017490 XCTRunner[2921]: Built at Oct 19 2016 14:06:44
[XCUITest] Detected that WebDriverAgent is running at url 'http://10.195.29.38:8100'
[debug] [WebDriverAgent] Sim: Oct 19 14:06:54 WASE-AM02017490 XCTRunner[2921]: ServerURLHere->http://10.195.29.38:8100<-ServerURLHere
[XCUITest] WebDriverAgent started at url 'http://10.195.29.38:8100'
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bu...
[debug] [XCUITest] Waiting for WebDriverAgent server to finish loading...
[HTTP] --> GET /welcome {}
[debug] [HTTP] Sending welcome response with params: {"message":"Let's browse!"}
[HTTP] <-- GET /welcome 200 13 ms - 124
[JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"8434...
[debug] [XCUITest] Waiting for initial webview
[debug] [iOS] Navigating to most recently opened webview
[debug] [iOS] Retrieving contexts and views
[debug] [iOS] Selecting by url: true (expected url: 'http://0.0.0.0:12344/welcome')
[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: '{"__argument":{"WIRSimulatorBuildKey":"14A345","WIRSimulatorProductVersionKey":"10.0","WIRSimulatorNameKey":"iPad"},"__selector":"_rpc_reportSetup:"}'
[debug] [RemoteDebugger] Received response from socket send: '["iPad","14A345","10.0"]'
[debug] [RemoteDebugger] Sim name: iPad
[debug] [RemoteDebugger] Sim build: 14A345
[debug] [RemoteDebugger] Sim platform version: 10.0
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationDictionaryKey":{"PID:2928":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":1,"WIRIsApplicationReadyKey":false,"WIRApplicationIdentifierKey":"PID:2928","WIRIsApplicationProxyKey":false,"WIRApplicationNameKey":"Safari","WIRApplicationBundleIdentifierKey":"com.apple.mobilesafari"}}},"__selector":"_rpc_reportConnectedApplicationList:"}'
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRDriverDictionaryKey":{}},"__selector":"_rpc_reportConnectedDriverList:"}'
[debug] [RemoteDebugger] Notified of connected drivers: {}.
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":1,"WIRIsApplicationReadyKey":false,"WIRApplicationIdentifierKey":"PID:2932","WIRIsApplicationProxyKey":true,"WIRApplicationNameKey":"","WIRApplicationBundleIdentifierKey":"com.apple.WebKit.WebContent","WIRHostApplicationIdentifierKey":"PID:2928"},"__selector":"_rpc_applicationConnected:"}'
[debug] [RemoteDebugger] Notified that new application 'PID:2932' has connected
[debug] [RemoteDebugger] Current applications available:
[debug] [RemoteDebugger] Application: 'PID:2928'
[debug] [RemoteDebugger] id: "PID:2928"
[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] Application: 'PID:2932'
[debug] [RemoteDebugger] id: "PID:2932"
[debug] [RemoteDebugger] isProxy: true
[debug] [RemoteDebugger] name: ""
[debug] [RemoteDebugger] bundleId: "com.apple.WebKit.WebContent"
[debug] [RemoteDebugger] hostId: "PID:2928"
[debug] [RemoteDebugger] isActive: 1
[debug] [RemoteDebugger] isAutomationEnabled: false
[debug] [RemoteDebugger] pageDict: "Waiting for data"
[debug] [RemoteDebugger] Found app id key 'PID:2928' 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:2932'
[debug] [RemoteDebugger] Using proxied app id 'PID:2932'
[debug] [RemoteDebugger] Connected to application
[debug] [RemoteDebugger] Selecting application
[debug] [RemoteDebugger] Found app id key 'PID:2928' 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:2932'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:2932
[debug] [RemoteDebugger] Selecting app PID:2932 (try #1 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:2932","WIRListingKey":{"1":{"WIRTitleKey":"Appium/welcome","WIRTypeKey":"WIRTypeWeb","WIRURLKey":"http://0.0.0.0:12344/welcome","WIRPageIdentifierKey":1}}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:2932",{"1":{"WIRTitle...'
[debug] [RemoteDebugger] Page changed: {"1":{"WIRTitleKey":"Appium/welcome","WIRTypeKey":"WIRTypeWeb","WIRURLKey":"http://0.0.0.0:12344/welcome","WIRPageIdentifierKey":1}}
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":1,"WIRIsApplicationReadyKey":true,"WIRApplicationIdentifierKey":"PID:2932","WIRIsApplicationProxyKey":true,"WIRApplicationNameKey":"","WIRApplicationBundleIdentifierKey":"com.apple.WebKit.WebContent","WIRHostApplicationIdentifierKey":"PID:2928"},"__selector":"_rpc_applicationUpdated:"}'
[debug] [RemoteDebugger] Notified that application 'PID:2932' has been updated.
[debug] [RemoteDebugger] Current applications available:
[debug] [RemoteDebugger] Application: 'PID:2928'
[debug] [RemoteDebugger] id: "PID:2928"
[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] Application: 'PID:2932'
[debug] [RemoteDebugger] id: "PID:2932"
[debug] [RemoteDebugger] isProxy: true
[debug] [RemoteDebugger] name: ""
[debug] [RemoteDebugger] bundleId: "com.apple.WebKit.WebContent"
[debug] [RemoteDebugger] hostId: "PID:2928"
[debug] [RemoteDebugger] isActive: 1
[debug] [RemoteDebugger] isAutomationEnabled: false
[debug] [RemoteDebugger] pageDict: [{"id":1,"title":"Appium/welcome","url":"http://0.0.0.0:12344/welcome","isKey":false}]
[debug] [RemoteDebugger] Finally selecting app PID:2932: [{"id":1,"title":"Appium/welcome","url":"http://0.0.0.0:12344/welcome","isKey":false}]
[debug] [iOS] Picking webview 'WEBVIEW_2932.1'
[debug] [iOS] Attempting to set context to 'WEBVIEW_2932.1'
[debug] [RemoteDebugger] Selecting page '1' on app 'PID:2932' and forwarding socket setup
[debug] [RemoteDebugger] Sending '_rpc_forwardSocketSetup:' message to remote debugger
[debug] [RemoteDebugger] Sender key set
[debug] [RemoteDebugger] Sending '_rpc_forwardSocketData:' message to remote debugger
[debug] [RemoteDebugger] Received applicationSentData response
[debug] [RemoteDebugger] Found data handler for response
[debug] [RemoteDebugger] Received data response from socket send: '{}'
[debug] [RemoteDebugger] Original command: enablePage
[debug] [RemoteDebugger] Enabled activity on page
[debug] [RemoteDebugger] Checking document readyState
[debug] [RemoteDebugger] Sending javascript command (function (){ return docume...
[debug] [RemoteDebugger] Sending '_rpc_forwardSocketData:' message to remote debugger
[debug] [RemoteDebugger] Received applicationSentData response
[debug] [RemoteDebugger] Found data handler for response
[debug] [RemoteDebugger] Received data response from socket send: 'complete'
[debug] [RemoteDebugger] Original command: sendJSCommand
[debug] [RemoteDebugger] readyState was "complete"
[debug] [RemoteDebugger] Unregistering from page readiness notifications
[Appium] New XCUITestDriver session created successfully, session 4b148c03-abf0-496f-876e-649226efcf29 added to master session list
[MJSONWP] Responding to client with driver.createSession() result: {"webStorageEnabled":false,...
[HTTP] <-- POST /wd/hub/session 200 102684 ms - 383
[HTTP] --> POST /wd/hub/session/4b148c03-abf0-496f-876e-649226efcf29/url {"url":"http://localhost:8000","sessionId":"4b148c03-abf0-496f-876e-649226efcf29"}
[MJSONWP] Calling AppiumDriver.setUrl() with args: ["http://localhost:8000","4...
[debug] [XCUITest] Executing command 'setUrl'
[debug] [iOS] Attempting to set url 'http://localhost:8000'
[debug] [RemoteDebugger] Navigating to new URL: http://localhost:8000
[debug] [RemoteDebugger] Sending '_rpc_forwardSocketData:' message to remote debugger
[debug] [RemoteDebugger] Received applicationSentData response
[debug] [RemoteDebugger] Found data handler for response
[debug] [RemoteDebugger] Received data response from socket send: '{}'
[debug] [RemoteDebugger] Original command: setUrl
[debug] [RemoteDebugger] Received applicationSentData response
[debug] [RemoteDebugger] Received applicationSentData response
[debug] [RemoteDebugger] Frame navigated, unloading page
[debug] [RemoteDebugger] Received applicationSentData response
[debug] [RemoteDebugger] Received applicationSentData response
[debug] [RemoteDebugger] Received applicationSentData response
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:2928","WIRListingKey":{}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received page change notice for app 'PID:2928' but listening for 'PID:2932'. Ignoring.
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":1,"WIRIsApplicationReadyKey":true,"WIRApplicationIdentifierKey":"PID:2928","WIRIsApplicationProxyKey":false,"WIRApplicationNameKey":"Safari","WIRApplicationBundleIdentifierKey":"com.apple.mobilesafari"},"__selector":"_rpc_applicationUpdated:"}'
[debug] [RemoteDebugger] Notified that application 'PID:2928' has been updated.
[debug] [RemoteDebugger] Current applications available:
[debug] [RemoteDebugger] Application: 'PID:2928'
[debug] [RemoteDebugger] id: "PID:2928"
[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] pageDict: []
[debug] [RemoteDebugger] Application: 'PID:2932'
[debug] [RemoteDebugger] id: "PID:2932"
[debug] [RemoteDebugger] isProxy: true
[debug] [RemoteDebugger] name: ""
[debug] [RemoteDebugger] bundleId: "com.apple.WebKit.WebContent"
[debug] [RemoteDebugger] hostId: "PID:2928"
[debug] [RemoteDebugger] isActive: 1
[debug] [RemoteDebugger] isAutomationEnabled: false
[debug] [RemoteDebugger] pageDict: [{"id":1,"title":"Appium/welcome","url":"http://0.0.0.0:12344/welcome","isKey":false}]
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:2932","WIRListingKey":{"1":{"WIRTitleKey":"","WIRTypeKey":"WIRTypeWeb","WIRURLKey":"http://localhost:8000/","WIRPageIdentifierKey":1,"WIRConnectionIdentifierKey":"0e7cf3a9-b512-4a21-8c36-34908c2586ed"}}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Page changed: {"1":{"WIRTitleKey":"","WIRTypeKey":"WIRTypeWeb","WIRURLKey":"http://localhost:8000/","WIRPageIdentifierKey":1,"WIRConnectionIdentifierKey":"0e7cf3a9-b512-4a21-8c36-34908c2586ed"}}
[debug] [iOS] Remote debugger notified us of a new page listing: {"appIdKey":"2932","pageArray":[{"id":1,"title":"","url":"http://localhost:8000/","isKey":true}]}
[debug] [iOS] Checking if page needs to load
[debug] [iOS] Page load needed. Loading.
[debug] [RemoteDebugger] Page loaded, verifying whether ready
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":1,"WIRIsApplicationReadyKey":true,"WIRApplicationIdentifierKey":"PID:2932","WIRIsApplicationProxyKey":true,"WIRApplicationNameKey":"","WIRApplicationBundleIdentifierKey":"com.apple.WebKit.WebContent","WIRHostApplicationIdentifierKey":"PID:2928"},"__selector":"_rpc_applicationUpdated:"}'
[debug] [RemoteDebugger] Notified that application 'PID:2932' has been updated.
[debug] [RemoteDebugger] Current applications available:
[debug] [RemoteDebugger] Application: 'PID:2928'
[debug] [RemoteDebugger] id: "PID:2928"
[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] pageDict: []
[debug] [RemoteDebugger] Application: 'PID:2932'
[debug] [RemoteDebugger] id: "PID:2932"
[debug] [RemoteDebugger] isProxy: true
[debug] [RemoteDebugger] name: ""
[debug] [RemoteDebugger] bundleId: "com.apple.WebKit.WebContent"
[debug] [RemoteDebugger] hostId: "PID:2928"
[debug] [RemoteDebugger] isActive: 1
[debug] [RemoteDebugger] isAutomationEnabled: false
[debug] [RemoteDebugger] pageDict: [{"id":1,"title":"","url":"http://localhost:8000/","isKey":true}]
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:2932","WIRListingKey":{"1":{"WIRTitleKey":"","WIRTypeKey":"WIRTypeWeb","WIRURLKey":"http://localhost:8000/","WIRPageIdentifierKey":1,"WIRConnectionIdentifierKey":"0e7cf3a9-b512-4a21-8c36-34908c2586ed"}}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Page changed: {"1":{"WIRTitleKey":"","WIRTypeKey":"WIRTypeWeb","WIRURLKey":"http://localhost:8000/","WIRPageIdentifierKey":1,"WIRConnectionIdentifierKey":"0e7cf3a9-b512-4a21-8c36-34908c2586ed"}}
[debug] [iOS] Remote debugger notified us of a new page listing: {"appIdKey":"2932","pageArray":[{"id":1,"title":"","url":"http://localhost:8000/","isKey":true}]}
[debug] [iOS] Checking if page needs to load
[debug] [iOS] Page load needed. Loading.
[debug] [RemoteDebugger] Page loaded, verifying whether ready
[debug] [RemoteDebugger] Checking document readyState
[debug] [RemoteDebugger] Sending javascript command (function (){ return docume...
[debug] [RemoteDebugger] Sending '_rpc_forwardSocketData:' message to remote debugger
[debug] [RemoteDebugger] Received applicationSentData response
[debug] [RemoteDebugger] Found data handler for response
[debug] [RemoteDebugger] Received data response from socket send: 'complete'
[debug] [RemoteDebugger] Original command: sendJSCommand
[debug] [RemoteDebugger] readyState was "complete"
[debug] [RemoteDebugger] Page is ready
[debug] [iOS] New page listing is same as old, doing nothing
[debug] [iOS] Redirected from 'http://localhost:8000' to 'http://localhost:8000/'
[debug] [RemoteDebugger] Checking document readyState
[debug] [RemoteDebugger] Sending javascript command (function (){ return docume...
[debug] [RemoteDebugger] Sending '_rpc_forwardSocketData:' message to remote debugger
[debug] [RemoteDebugger] Received applicationSentData response
[debug] [RemoteDebugger] Found data handler for response
[debug] [RemoteDebugger] Received data response from socket send: 'complete'
[debug] [RemoteDebugger] Original command: sendJSCommand
[debug] [RemoteDebugger] readyState was "complete"
[debug] [RemoteDebugger] Page is ready
[debug] [iOS] New page listing is same as old, doing nothing
[debug] [RemoteDebugger] Waiting for frame navigated message...
[debug] [RemoteDebugger] Frame navigated in 0.504 sec from source: timeout
[debug] [RemoteDebugger] Waiting for dom...
[debug] [RemoteDebugger] Page loaded, verifying whether ready
[debug] [RemoteDebugger] Checking document readyState
[debug] [RemoteDebugger] Sending javascript command (function (){ return docume...
[debug] [RemoteDebugger] Sending '_rpc_forwardSocketData:' message to remote debugger
[debug] [RemoteDebugger] Received applicationSentData response
[debug] [RemoteDebugger] Found data handler for response
[debug] [RemoteDebugger] Received data response from socket send: 'complete'
[debug] [RemoteDebugger] Original command: sendJSCommand
[debug] [RemoteDebugger] readyState was "complete"
[debug] [RemoteDebugger] Page is ready
[MJSONWP] Responding to client with driver.setUrl() result: null
[HTTP] <-- POST /wd/hub/session/4b148c03-abf0-496f-876e-649226efcf29/url 200 2039 ms - 76
[HTTP] --> POST /wd/hub/session/4b148c03-abf0-496f-876e-649226efcf29/element {"using":"id","sessionId":"4b148c03-abf0-496f-876e-649226efcf29","value":"asd"}
[MJSONWP] Calling AppiumDriver.findElement() with args: ["id","asd","4b148c03-abf0-...
[debug] [XCUITest] Executing command 'findElement'
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, accessibility id
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [RemoteDebugger] Executing 'find_element' atom in default context
[debug] [RemoteDebugger] Sending javascript command (function(){return function...
[debug] [RemoteDebugger] Sending '_rpc_forwardSocketData:' message to remote debugger
[debug] [RemoteDebugger] Received applicationSentData response
[debug] [RemoteDebugger] Found data handler for response
[debug] [RemoteDebugger] Received data response from socket send: '{"status":0,"value":{"ELEME...'
[debug] [RemoteDebugger] Original command: sendJSCommand
[debug] [RemoteDebugger] Received result for atom 'find_element' execution: {"ELEMENT":":wdc:1476911221197"}
[MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"5000"}
[HTTP] <-- POST /wd/hub/session/4b148c03-abf0-496f-876e-649226efcf29/element 200 512 ms - 90
[HTTP] --> POST /wd/hub/session/4b148c03-abf0-496f-876e-649226efcf29/element/5000/click {"sessionId":"4b148c03-abf0-496f-876e-649226efcf29","id":"5000"}
[MJSONWP] Calling AppiumDriver.click() with args: ["5000","4b148c03-abf0-496f...
[debug] [XCUITest] Executing command 'click'
[debug] [RemoteDebugger] Executing 'click' atom in default context
[debug] [RemoteDebugger] Sending javascript command (function(){return function...
[debug] [RemoteDebugger] Sending '_rpc_forwardSocketData:' message to remote debugger
[debug] [RemoteDebugger] Received applicationSentData response
[debug] [RemoteDebugger] Found data handler for response
[debug] [RemoteDebugger] Received data response from socket send: '{"status":0,"value":null}'
[debug] [RemoteDebugger] Original command: sendJSCommand
[debug] [RemoteDebugger] Received result for atom 'click' execution: null
[MJSONWP] Responding to client with driver.click() result: null
[HTTP] <-- POST /wd/hub/session/4b148c03-abf0-496f-876e-649226efcf29/element/5000/click 200 508 ms - 76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment