Skip to content

Instantly share code, notes, and snippets.

@sebv
Created June 3, 2015 12:37
Show Gist options
  • Save sebv/f439476fb4d4d7189dfa to your computer and use it in GitHub Desktop.
Save sebv/f439476fb4d4d7189dfa to your computer and use it in GitHub Desktop.
Launching Appium with command: '/Applications/Appium.app/Contents/Resources/node/bin/node' lib/server/main.js --command-timeout "7200" --platform-version "8.2" --platform-name "iOS" --app "/Users/johnryan/Library/Developer/Xcode/DerivedData/App-heiemxzjgbefsqgnvgxrbnwsuvyi/Build/Products/Debug-iphonesimulator/App.app" --udid "" --device-name "iPhone 6"
info: Welcome to Appium v1.3.7 (REV 72fbfaa116d3d9f6a862600ee99cf02f6d0e2182)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: [debug] Non-default server args: {"app":"/Users/johnryan/Library/Developer/Xcode/DerivedData/App-heiemxzjgbefsqgnvgxrbnwsuvyi/Build/Products/Debug-iphonesimulator/App.app","udid":"","deviceName":"iPhone 6","platformName":"iOS","platformVersion":"8.2","defaultCommandTimeout":7200}
info: Console LogLevel: debug
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: <-- GET /wd/hub/status 200 8.837 ms - 104 {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: <-- GET /wd/hub/status 200 3.202 ms - 104 {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"}}}
info: --> GET /wd/hub/sessions {}
info: [debug] Responding to client with success: {"status":0,"value":[]}
info: <-- GET /wd/hub/sessions 200 0.851 ms - 23 {"status":0,"value":[]}
info: --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"iOS","platformVersion":"8.2","newCommandTimeout":"999999","automationName":"Appium","deviceName":"iPhone 6"}}
info: Client User-Agent string: Appium (unknown version) CFNetwork/720.2.4 Darwin/14.1.0 (x86_64)
info: [debug] Using local app from command line: /Users/johnryan/Library/Developer/Xcode/DerivedData/App-heiemxzjgbefsqgnvgxrbnwsuvyi/Build/Products/Debug-iphonesimulator/App.app
info: [debug] Creating new appium session cf855bda-bc1c-4447-9be6-43512fe1e494
info: [debug] Removing any remaining instruments sockets
info: [debug] Cleaned up instruments socket /tmp/instruments_sock
info: [debug] Setting Xcode folder
info: [debug] Setting Xcode version
info: [debug] Setting iOS SDK Version
info: [debug] Getting sdk version from xcrun with a timeout
info: [debug] iOS SDK Version set to 8.2
info: [debug] Checking whether instruments supports our device string
info: [debug] Getting list of devices instruments supports
info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"6.2","iOSSDKVersion":"8.2","deviceName":"iPhone 6","platformVersion":"8.2"}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'iPhone 6 (8.2 Simulator)'
info: [debug] iOS sim UDID is E3BA6497-BF5A-4A68-B169-73D83F52EA4C
info: [debug] Detecting automation tracetemplate
info: [debug] Not auto-detecting udid, running on sim
info: [debug] Could not parse plist file (as binary) at /Users/johnryan/Library/Developer/Xcode/DerivedData/App-heiemxzjgbefsqgnvgxrbnwsuvyi/Build/Products/Debug-iphonesimulator/App.app/en.lproj/Localizable.strings
info: Will try to parse the plist file as XML
info: [debug] Could not parse plist file (as XML) at /Users/johnryan/Library/Developer/Xcode/DerivedData/App-heiemxzjgbefsqgnvgxrbnwsuvyi/Build/Products/Debug-iphonesimulator/App.app/en.lproj/Localizable.strings
warn: Could not parse app Localizable.strings assuming it doesn't exist
info: [debug] Getting bundle ID from app
info: [debug] Could not parse plist file (as binary) at /Users/johnryan/Library/Developer/Xcode/DerivedData/App-heiemxzjgbefsqgnvgxrbnwsuvyi/Build/Products/Debug-iphonesimulator/App.app/Info.plist
info: Will try to parse the plist file as XML
info: [debug] Parsed app Info.plist (as XML)
info: [debug] Creating instruments
info: On some xcode 6 platforms, instruments-without-delay does not work. If you experience this, you will need to re-run appium with the --native-instruments-lib flag
info: [debug] Preparing uiauto bootstrap
info: [debug] Dynamic bootstrap dir: /Users/johnryan/Library/Application Support/appium/bootstrap
info: [debug] Dynamic env: {"nodePath":"/Applications/Appium.app/Contents/Resources/node/bin/node","commandProxyClientPath":"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js","instrumentsSock":"/tmp/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"autoDismissAlerts":false,"sendKeyStrategy":"oneByOne"}
info: [debug] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
...
info: [debug] Dynamic bootstrap path: /Users/johnryan/Library/Application Support/appium/bootstrap/bootstrap-931e8d7703a594e3.js
info: [debug] Reusing dynamic bootstrap: /Users/johnryan/Library/Application Support/appium/bootstrap/bootstrap-931e8d7703a594e3.js
info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"6.2","iOSSDKVersion":"8.2","deviceName":"iPhone 6","platformVersion":"8.2"}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'iPhone 6 (8.2 Simulator)'
info: [debug] We're on iOS7.1+ so forcing defaultDevice on
info: [debug] Getting device string from opts: {"forceIphone":false,"forceIpad":false,"xcodeVersion":"6.2","iOSSDKVersion":"8.2","deviceName":"iPhone 6","platformVersion":"8.2"}
info: [debug] fixDevice is on
info: [debug] Final device string is: 'iPhone 6 (8.2 Simulator)'
info: [debug] Could not parse plist file (as binary) at /Users/johnryan/Library/Developer/Xcode/DerivedData/App-heiemxzjgbefsqgnvgxrbnwsuvyi/Build/Products/Debug-iphonesimulator/App.app/Info.plist
info: Will try to parse the plist file as XML
info: [debug] Parsed app Info.plist (as XML)
info: [debug] Wrote new app Info.plist with device type
info: [debug] Checking whether we need to set app preferences
info: [debug] Not setting iOS and app preferences since we're on a real device
info: [debug] Running ios sim reset flow
info: [debug] Killing the simulator process
info: [debug] Killall iOS Simulator
info: [debug] Killing any other simulator daemons
info
info: [debug] Cleaning sim data files
Executing: xcrun simctl erase E3BA6497-BF5A-4A68-B169-73D83F52EA4C with timeout 2000
info: [debug] Cleaning app data files
warn: Applications directory /Users/johnryan/Library/Developer/CoreSimulator/Devices/E3BA6497-BF5A-4A68-B169-73D83F52EA4C/data/Containers/Data/Application doesn't exist. Have you run this simulator before?
warn: Applications directory /Users/johnryan/Library/Developer/CoreSimulator/Devices/E3BA6497-BF5A-4A68-B169-73D83F52EA4C/data/Containers/Bundle/Application doesn't exist. Have you run this simulator before?
info: Couldn't find app directories to delete. Probably it's not installed
info: [debug] Not setting locale
info: [debug] No iOS / app preferences to set
info: [debug] Starting iOS 8.* simulator log capture
info: [debug] Not pre-launching simulator
info: [debug] No device id or app, not installing to real device.
info: [debug] Starting command proxy.
info: [debug] Instruments socket server started at /tmp/instruments_sock
info: [debug] Starting instruments
info: [debug] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
info: Launching instruments
info: [debug] Attempting to run app on iPhone 6 (8.2 Simulator)
info: [debug] Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /tmp/appium-instruments/instrumentscli0.trace -w "iPhone 6 (8.2 Simulator)" /Users/johnryan/Library/Developer/Xcode/DerivedData/App-heiemxzjgbefsqgnvgxrbnwsuvyi/Build/Products/Debug-iphonesimulator/App.app -e UIASCRIPT "/Users/johnryan/Library/Application Support/appium/bootstrap/bootstrap-931e8d7703a594e3.js" -e UIARESULTSPATH /tmp/appium-instruments
info: [debug] And extra without-delay env: {"DYLD_INSERT_LIBRARIES":"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd6/InstrumentsShim.dylib","LIB_PATH":"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-instruments/thirdparty/iwd6"}
info: [debug] And launch timeouts (in ms): {"global":90000}
info: [debug] [INST] Waiting for device to boot...
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"},"isShuttingDown":false},"sessionId":"cf855bda-bc1c-4447-9be6-43512fe1e494"}
info: <-- GET /wd/hub/status 200 1.519 ms - 178 {"status":0,"value":{"build":{"version":"1.3.7","revision":"72fbfaa116d3d9f6a862600ee99cf02f6d0e2182"},"isShuttingDown":false},"sessionId":"cf855bda-bc1c-4447-9be6-43512fe1e494"}
info: Instruments is ready to receive commands
info: [debug] Instruments launched. Starting poll loop for new commands.
info: [debug] Setting bootstrap config keys/values
info: [debug] Pushing command to appium work queue: "target = $.target();\nau = $;\n$.isVerbose = true;\n"
info: [debug] Socket data received (2 bytes)
info: [debug] Socket data being routed.
info: [debug] Sending command to instruments: target = $.target();
au = $;
$.isVerbose = true;
info: [debug] [INST] 2015-04-01 20:23:42 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-04-01 20:23:42 +0000 Debug: responding with:
info: [debug] [INST] 2015-04-01 20:23:42 +0000 Debug: Running system command #1: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":true}...
info: [debug] Socket data received (27 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":0,"value":true}
info: [debug] Setting initial orientation to PORTRAIT
info: [debug] Pushing command to appium work queue: "au.setScreenOrientation('PORTRAIT')"
info: [debug] Sending command to instruments: au.setScreenOrientation('PORTRAIT')
info: [debug] [INST] 2015-04-01 20:23:42 +0000 Debug: Got new command 1 from instruments: au.setScreenOrientation('PORTRAIT')
info: [debug] [INST] 2015-04-01 20:23:42 +0000 Debug: evaluating au.setScreenOrientation('PORTRAIT')
info: [debug] [INST] 2015-04-01 20:23:42 +0000 Debug: target.setDeviceOrientation("1")
info: [debug] [INST] 2015-04-01 20:23:42 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-04-01 20:23:42 +0000 Debug: responding with:
info: [debug] [INST] 2015-04-01 20:23:42 +0000 Debug: Running system command #2: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":"PORTRAIT"}...
info: [debug] Socket data received (33 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":0,"value":"PORTRAIT"}
info: [debug] Waiting for app source to contain elements
info: [debug] Pushing command to appium work queue: "au.mainApp().getTreeForXML()"
info: [debug] Sending command to instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2015-04-01 20:23:43 +0000 Debug: Got new command 2 from instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2015-04-01 20:23:43 +0000 Debug: evaluating au.mainApp().getTreeForXML()
info: [debug] [INST] 2015-04-01 20:23:43 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-04-01 20:23:43 +0000 Debug: responding with::true,"visible":true,"hint":null,"path":"/0/0","x":0,"y":0,"width":375,"height":667},">":[{"UIAImage":{"@":{"name":"AppSplash","label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/0","x":0,"y":0,"width":375,"height":667},">":[]}},{"UIAScrollView":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/1","x":0,"y":0,"width":375,"height":623},">":[{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/0/1/0","x":372.5,"y":64,"width":2.5,"height":623},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/1/1","x":0,"y":120,"width":375,"height":50},">":[]}},{"UIAStaticText":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/1/2","x":30,"y":180,"width":315,"height":30},">":[]}},{"UIAStaticText":{"@":{"name":"Enterprise Phone System For The Modern Workforce.","label":"Enterprise Phone System For The Modern Workforce.","value":"Enterprise Phone System For The Modern Workforce.","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/1/3","x":30,"y":215,"width":315,"height":70},">":[]}}]}},{"UIAImage":{"@":{"name":"logo_big","label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/2","x":87.5,"y":100,"width":200,"height":100},">":[]}},{"UIAPageIndicator":{"@":{"name":null,"label":null,"value":"page 1 of 3","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/3","x":0,"y":340,"width":375,"height":25},">":[]}},{"UIAButton":{"@":{"name":"Log In With Google","label":"Log In With Google","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/4","x":30,"y":547,"width":315,"height":40},">":[]}},{"UIAButton":{"@":{"name":"Log In With Office 365","label":"Log In With Office 365","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/5","x":30,"y":607,"width":315,"height":40},">":[]}}]}},{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1","x":0,"y":0,"width":375,"height":667},">":[]}},{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/2","x":0,"y":0,"width":375,"height":667},">":[{"UIAStatusBar":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/2/0","x":0,"y":0,"width":375,"height":20},">":[{"UIAElement":{"@":{"name":"Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top","label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top","path":"/0/2/0/0","x":6,"y":0,"width":38,"height":20},">":[]}},{"UIAElement":{"@":{"name":"3 of 3 Wi-Fi bars","label":"3 of 3 Wi-Fi bars","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top","path":"/0/2/0/1","x":49,"y":0,"width":13,"height":20},">":[]}},{"UIAElement":{"@":{"name":"4:23 PM","label":"4:23 PM","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top","path":"/0/2/0/2","x":164,"y":0,"width":47,"height":20},">":[]}},{"UIAElement":{"@":{"name":"1
00% battery power","label":"100% battery power","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top","path":"/0/2/0/3","x":345,"y":0,"width":25,"height":20},">":[]}}]}}]}}]}}}
info: [debug] [INST] 2015-04-01 20:23:43 +0000 Debug: Running system command #3: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":{"UIAApplication":{"@":{"name":"App","label":"App","value":null,"dom":null,...
info: [debug] Socket data received (4663 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":0,"value":{"UIAApplication":{"@":{"name":"App","label":"App","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":20,"width":375,"height":647},">":[{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid"
info: [debug] Device launched! Ready for commands
info: [debug] Setting command timeout to 999999 secs
info: [debug] Appium session started with sessionId cf855bda-bc1c-4447-9be6-43512fe1e494
info: <-- POST /wd/hub/session 303 9792.937 ms - 74
info: --> GET /wd/hub/session/cf855bda-bc1c-4447-9be6-43512fe1e494 {}
info: [debug] Responding to client with success: {"status":0,"value":{"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"iOS","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"warnings":{},"desired":{"platformName":"iOS","platformVersion":"8.2","newCommandTimeout":"999999","automationName":"Appium","deviceName":"iPhone 6"},"platformName":"iOS","platformVersion":"8.2","newCommandTimeout":"999999","automationName":"Appium","deviceName":"iPhone 6"},"sessionId":"cf855bda-bc1c-4447-9be6-43512fe1e494"}
info: <-- GET /wd/hub/session/cf855bda-bc1c-4447-9be6-43512fe1e494 200 1.472 ms - 546 {"status":0,"value":{"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"iOS","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"warnings":{},"desired":{"platformName":"iOS","platformVersion":"8.2","newCommandTimeout":"999999","automationName":"Appium","deviceName":"iPhone 6"},"platformName":"iOS","platformVersion":"8.2","newCommandTimeout":"999999","automationName":"Appium","deviceName":"iPhone 6"},"sessionId":"cf855bda-bc1c-4447-9be6-43512fe1e494"}
info: --> GET /wd/hub/session/cf855bda-bc1c-4447-9be6-43512fe1e494/source {}
info: [debug] Pushing command to appium work queue: "au.mainApp().getTreeForXML()"
info: [debug] Sending command to instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2015-04-01 20:23:43 +0000 Debug: Got new command 3 from instruments: au.mainApp().getTreeForXML()
info: [debug] [INST] 2015-04-01 20:23:43 +0000 Debug: evaluating au.mainApp().getTreeForXML()
info: [debug] [INST] 2015-04-01 20:23:43 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-04-01 20:23:43 +0000 Debug: responding with::true,"visible":true,"hint":null,"path":"/0/0","x":0,"y":0,"width":375,"height":667},">":[{"UIAImage":{"@":{"name":"AppSplash","label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/0","x":0,"y":0,"width":375,"height":667},">":[]}},{"UIAScrollView":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/1","x":0,"y":0,"width":375,"height":623},">":[{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/0/1/0","x":372.5,"y":64,"width":2.5,"height":623},">":[]}},{"UIAImage":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/1/1","x":0,"y":120,"width":375,"height":50},">":[]}},{"UIAStaticText":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/1/2","x":30,"y":180,"width":315,"height":30},">":[]}},{"UIAStaticText":{"@":{"name":"Enterprise Phone System For The Modern Workforce.","label":"Enterprise Phone System For The Modern Workforce.","value":"Enterprise Phone System For The Modern Workforce.","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/1/3","x":30,"y":215,"width":315,"height":70},">":[]}}]}},{"UIAImage":{"@":{"name":"logo_big","label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/2","x":87.5,"y":100,"width":200,"height":100},">":[]}},{"UIAPageIndicator":{"@":{"name":null,"label":null,"value":"page 1 of 3","dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/3","x":0,"y":340,"width":375,"height":25},">":[]}},{"UIAButton":{"@":{"name":"Log In With Google","label":"Log In With Google","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/4","x":30,"y":547,"width":315,"height":40},">":[]}},{"UIAButton":{"@":{"name":"Log In With Office 365","label":"Log In With Office 365","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/0/5","x":30,"y":607,"width":315,"height":40},">":[]}}]}},{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":false,"hint":null,"path":"/0/1","x":0,"y":0,"width":375,"height":667},">":[]}},{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/2","x":0,"y":0,"width":375,"height":667},">":[{"UIAStatusBar":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0/2/0","x":0,"y":0,"width":375,"height":20},">":[{"UIAElement":{"@":{"name":"Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top","label":null,"value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top","path":"/0/2/0/0","x":6,"y":0,"width":38,"height":20},">":[]}},{"UIAElement":{"@":{"name":"3 of 3 Wi-Fi bars","label":"3 of 3 Wi-Fi bars","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top","path":"/0/2/0/1","x":49,"y":0,"width":13,"height":20},">":[]}},{"UIAElement":{"@":{"name":"4:23 PM","label":"4:23 PM","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top",
"path":"/0/2/0/2","x":164,"y":0,"width":47,"height":20},">":[]}},{"UIAElement":{"@":{"name":"100% battery power","label":"100% battery power","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":"Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top","path":"/0/2/0/3","x":345,"y":0,"width":25,"height":20},">":[]}}]}}]}}]}}}
info: [debug] [INST] 2015-04-01 20:23:43 +0000 Debug: Running system command #4: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":{"UIAApplication":{"@":{"name":"App","label":"App","value":null,"dom":null,...
info: [debug] Socket data received (4663 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":0,"value":{"UIAApplication":{"@":{"name":"App","label":"App","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":20,"width":375,"height":647},">":[{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,"valid"
info: [debug] Responding to client with success: {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"App\" label=\"App\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"375\" height=\"647\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"375\" height=\"667\">\n <UIAImage name=\"AppSplash\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/0\" x=\"0\" y=\"0\" width=\"375\" height=\"667\">\n </UIAImage>\n <UIAScrollView name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1\" x=\"0\" y=\"0\" width=\"375\" height=\"623\">\n <UIAImage name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"false\" hint=\"\" path=\"/0/0/1/0\" x=\"372.5\" y=\"64\" width=\"2.5\" height=\"623\">\n </UIAImage>\n <UIAImage name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid...","sessionId":"cf855bda-bc1c-4447-9be6-43512fe1e494"}
info: <-- GET /wd/hub/session/cf855bda-bc1c-4447-9be6-43512fe1e494/source 200 276.430 ms - 5380 {"status":0,"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <UIAApplication name=\"App\" label=\"App\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0\" x=\"0\" y=\"20\" width=\"375\" height=\"647\">\n <UIAWindow name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0\" x=\"0\" y=\"0\" width=\"375\" height=\"667\">\n <UIAImage name=\"AppSplash\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/0\" x=\"0\" y=\"0\" width=\"375\" height=\"667\">\n </UIAImage>\n <UIAScrollView name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"true\" hint=\"\" path=\"/0/0/1\" x=\"0\" y=\"0\" width=\"375\" height=\"623\">\n <UIAImage name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid=\"true\" visible=\"false\" hint=\"\" path=\"/0/0/1/0\" x=\"372.5\" y=\"64\" width=\"2.5\" height=\"623\">\n </UIAImage>\n <UIAImage name=\"\" label=\"\" value=\"\" dom=\"\" enabled=\"true\" valid...","sessionId":"cf855bda-bc1c-4447-9be6-43512fe1e494"}
info: --> GET /wd/hub/session/cf855bda-bc1c-4447-9be6-43512fe1e494/orientation {}
info: [debug] Pushing command to appium work queue: "au.getScreenOrientation()"
info: [debug] Sending command to instruments: au.getScreenOrientation()
info: [debug] [INST] 2015-04-01 20:23:44 +0000 Debug: Got new command 4 from instruments: au.getScreenOrientation()
info: [debug] [INST] 2015-04-01 20:23:44 +0000 Debug: evaluating au.getScreenOrientation()
info: [debug] [INST] 2015-04-01 20:23:44 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-04-01 20:23:44 +0000 Debug: responding with:
info: [debug] [INST] 2015-04-01 20:23:44 +0000 Debug: Running system command #5: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":"PORTRAIT"}...
info: [debug] Socket data received (33 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":0,"value":"PORTRAIT"}
info: [debug] Setting internal orientation to PORTRAIT
info: [debug] Responding to client with success: {"status":0,"value":"PORTRAIT","sessionId":"cf855bda-bc1c-4447-9be6-43512fe1e494"}
info: <-- GET /wd/hub/session/cf855bda-bc1c-4447-9be6-43512fe1e494/orientation 200 161.239 ms - 82 {"status":0,"value":"PORTRAIT","sessionId":"cf855bda-bc1c-4447-9be6-43512fe1e494"}
info: --> GET /wd/hub/session/cf855bda-bc1c-4447-9be6-43512fe1e494/screenshot {}
info: [debug] Pushing command to appium work queue: "au.getScreenOrientation()"
info: [debug] Sending command to instruments: au.getScreenOrientation()
info: [debug] [INST] 2015-04-01 20:23:44 +0000 Debug: Got new command 5 from instruments: au.getScreenOrientation()
info: [debug] [INST] 2015-04-01 20:23:44 +0000 Debug: evaluating au.getScreenOrientation()
info: [debug] [INST] 2015-04-01 20:23:44 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-04-01 20:23:44 +0000 Debug: responding with:
info: [debug] [INST] 2015-04-01 20:23:44 +0000 Debug: Running system command #6: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":"PORTRAIT"}...
info: [debug] Socket data received (33 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":0,"value":"PORTRAIT"}
info: [debug] Setting internal orientation to PORTRAIT
info: [debug] Pushing command to appium work queue: "au.capture('screenshotcc043ef2-acea-4a38-bf10-9012238478f1')"
info: [debug] Sending command to instruments: au.capture('screenshotcc043ef2-acea-4a38-bf10-9012238478f1')
info: [debug] [INST] 2015-04-01 20:23:44 +0000 Debug: Got new command 6 from instruments: au.capture('screenshotcc043ef2-acea-4a38-bf10-9012238478f1')
info: [debug] [INST] 2015-04-01 20:23:44 +0000 Debug: evaluating au.capture('screenshotcc043ef2-acea-4a38-bf10-9012238478f1')
info: [debug] [INST] 2015-04-01 20:23:44 +0000 Debug: target.captureRectOnScreenWithName("{origin:{x:0.00,y:0.00}, size:{height:667.00,width:375.00}}", UIScreen, "screenshotcc043ef2-acea-4a38-bf10-9012238478f1")
info: [debug] Socket data received (25 bytes)
info: [debug] Socket data being routed.
info: [debug] Got result from instruments: {"status":0,"value":""}
info: [debug] Waiting 10000 ms for screenshot to ge generated.
info: [debug] [INST] 2015-04-01 20:23:44 +0000 Screenshot captured.
info: [debug] [INST] 2015-04-01 20:23:44 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-04-01 20:23:44 +0000 Debug: responding with:
info: [debug] [INST] 2015-04-01 20:23:44 +0000 Debug: Running system command #7: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":""}...
info: [debug] Responding to client with success: {"status":0,"value":"iVBORw0KGgoAAAANSUhEUgAAAu4AAAU2CAYAAADK1zMGAAAAAXNSR0IArs4c6QAAQABJREFUeAHsnQeAHEeV999s3lXOWbIVLck5ZxvLOWGDydFgTI5n4IAjHDkecAcc8JGTSYeNbbCNc845yXKQZOUsWWkVdvd7r3d7t6e7uqe6qrune+Zf9mpmqqtevfpVT8/r6levSrPmH9NDNZZ6qHa6FLsnsStkNfi5VSwrAGinFgjU0Wlce11NvkfJSzT4kuRCCQO9UQUEQMCIQINRLVQCARAAARAAARAAARAAARDIlEAT1dDstEuuVKU+pTHxUXI7hdeKBNLgX7HRuiwA0nU57Oh0PgngRyKf4wKtQCBxAr2/vWy4I9UUgWpexGHP1dSphM6AAAhUn4Bc0nFprf44QAMQyAuBGjXc/dYrLnuZnHB+7N5GMxgCVfMZNOvtZZ2895OuI8r+rsuI12j366irxt9bP6M0ToU0ZBp3GBVBAASqSKD3igMf9yoOAZoGARAAARAAARAAARAAAV0CNTrjrtt9lAMBELAnkMW8o72WkAACIAACIAACRSeAGfeijyD0BwEQAAEQAAEQAAEQqAsCmHGvi2FGJ0EgSwL+Gfgs286iLXgdZ0EZbYAACIAACAQJNJH8xtb871AahkQQWlQrwdLBwajpnCg4UR23BBe3WcvmonqCYzVDwHdW+T463bQ+kawFpELb39V8aplK1xMT6mUIfolhhSAQqBsCcJWpm6FGR0EABEAABEAABEAABIpMIDFXmeamJpozZybtP38ujRwxjF5atoJeeGEJPfPsc7njM27cGBJ9V69ZS3v3duVOP69CjY2NdMxRh9HRRx5G8+fNpX2mTaFhQ4fQ4MGDaNu27bTl5a20ZOkyeurpZ+je+x+ie+57iLq68t0nb//wHgRAoJdAe3sb9fT0UGfnLm0kLS0t1NbWSi/zdcAktTQ309ixY0Kr7uzspA0bNoYel/bHjhlddnzFylVO...","sessionId":"cf855bda-bc1c-4447-9be6-43512fe1e494"}
info: <-- GET /wd/hub/session/cf855bda-bc1c-4447-9be6-43512fe1e494/screenshot 200 684.817 ms - 210650 {"status":0,"value":"iVBORw0KGgoAAAANSUhEUgAAAu4AAAU2CAYAAADK1zMGAAAAAXNSR0IArs4c6QAAQABJREFUeAHsnQeAHEeV999s3lXOWbIVLck5ZxvLOWGDydFgTI5n4IAjHDkecAcc8JGTSYeNbbCNc845yXKQZOUsWWkVdvd7r3d7t6e7uqe6qrune+Zf9mpmqqtevfpVT8/r6levSrPmH9NDNZZ6qHa6FLsnsStkNfi5VSwrAGinFgjU0Wlce11NvkfJSzT4kuRCCQO9UQUEQMCIQINRLVQCARAAARAAARAAARAAARDIlEAT1dDstEuuVKU+pTHxUXI7hdeKBNLgX7HRuiwA0nU57Oh0PgngRyKf4wKtQCBxAr2/vWy4I9UUgWpexGHP1dSphM6AAAhUn4Bc0nFprf44QAMQyAuBGjXc/dYrLnuZnHB+7N5GMxgCVfMZNOvtZZ2895OuI8r+rsuI12j366irxt9bP6M0ToU0ZBp3GBVBAASqSKD3igMf9yoOAZoGARAAARAAARAAARAAAV0CNTrjrtt9lAMBELAnkMW8o72WkAACIAACIAACRSeAGfeijyD0BwEQAAEQAAEQAAEQqAsCmHGvi2FGJ0EgSwL+Gfgs286iLXgdZ0EZbYAACIAACAQJNJH8xtb871AahkQQWlQrwdLBwajpnCg4UR23BBe3WcvmonqCYzVDwHdW+T463bQ+kawFpELb39V8aplK1xMT6mUIfolhhSAQqBsCcJWpm6FGR0EABEAABEAABEAABIpMIDFXmeamJpozZybtP38ujRwxjF5atoJeeGEJPfPsc7njM27cGBJ9V69ZS3v3duVOP69CjY2NdMxRh9HRRx5G8+fNpX2mTaFhQ4fQ4MGDaNu27bTl5a20ZOkyeurpZ+je+x+ie+57iLq68t0nb//wHgRAoJdAe3sb9fT0UGfnLm0kLS0t1NbWSi/zdcAktTQ309ixY0Kr7uzspA0bNoYel/bHjhlddnzFylVO...","sessionId":"cf855bda-bc1c-4447-9be6-43512fe1e494"}
error: [REMOTE] Could not connect to WebKitRemoteDebugger server
info: --> GET /wd/hub/session/cf855bda-bc1c-4447-9be6-43512fe1e494/contexts {}
info: [debug] [REMOTE] Getting WebKitRemoteDebugger pageArray
info: [debug] Responding to client with error: {"status":13,"value":{"message":"An unknown server-side error occurred while processing the command. (Original error: connect ECONNREFUSED)","code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect","origValue":"connect ECONNREFUSED"},"sessionId":"cf855bda-bc1c-4447-9be6-43512fe1e494"}
info: <-- GET /wd/hub/session/cf855bda-bc1c-4447-9be6-43512fe1e494/contexts 500 10.827 ms - 293
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment