HI,
SAFARI LAUNCHER is launched and it opens the safari browser as well, and connects to apple.com, then it tries to switch to the webview and errors out as below:
**
SELENIUM LOG
[TestNG] Running:
/private/var/folders/py/kgvfbnsd4dl8xvx3nktsh6p00000gn/T/testng-eclipse–1650823434/testng-customsuite.xml
FAILED: EB_New_Used_Ship_Credit
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Could not navigate to webview; there are none! (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 103.94 seconds
Build info: version: ‘2.51.0’, revision: ‘1af067dbcaedd7d2ab9af5151fc471d363d97193’, time: ‘2016-02-05 11:20:57’
System info: host: ‘vbs-chd-nb96.vserv-it.com’, ip: ‘172.17.3.98’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.11.4’, java.version: ‘1.8.0_60’
Driver info: io.appium.java_client.ios.IOSDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:144)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:37)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:161)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:170)
at io.appium.java_client.ios.IOSDriver.(IOSDriver.java:57)
at BusinessRules.Core.Launch_Browser(Core.java:99)
at com.eFollett.Smoke_Test.Opt_Critical_Test_01.EB_New_Used_Ship_Credit(Opt_Critical_Test_01.java:53)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:822)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1130)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at org.testng.TestRunner.privateRun(TestRunner.java:782)
at org.testng.TestRunner.run(TestRunner.java:632)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)
at org.testng.SuiteRunner.run(SuiteRunner.java:268)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)
at org.testng.TestNG.run(TestNG.java:1064)
at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:113)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:206)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:177)
===============================================
Default test
Tests run: 1, Failures: 1, Skips: 0
===============================================
Default suite
Total tests run: 1, Failures: 1, Skips: 0
[TestNG] Time taken by org.testng.reporters.jq.Main@77afea7d: 26 ms
[TestNG] Time taken by org.testng.reporters.JUnitReportReporter@3339ad8e: 5 ms
[TestNG] Time taken by BusinessRules.Report@47c62251: 9 ms
[TestNG] Time taken by org.testng.reporters.EmailableReporter2@3cd1f1c8: 5 ms
[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@75828a0f: 7 ms
[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 5 ms
[TestNG] Time taken by org.testng.reporters.XMLReporter@5679c6c6: 4 ms
**
**
APPIUM LOG
**
Launching Appium with command: ‘/usr/local/bin/node’ appium/build/lib/main.js --address “127.0.0.1” --port “4737” --callback-port “9222” --session-override --debug-log-spacing --log-timestamp --local-timezone --platform-version “8.0” --platform-name “iOS” --safari --browser-name “Safari” --udid “[spoiler]ea4059dcea980ac2ad67a31e088051749267b8b0[/spoiler]” --show-ios-log --device-name “iPhone 6 Plus”
2016-07-20 13:52:51:002 - [Appium] Welcome to Appium v1.5.3
2016-07-20 13:52:51:005 - [Appium] Non-default server args:
2016-07-20 13:52:51:007 - [Appium] address: ‘127.0.0.1’
2016-07-20 13:52:51:007 - [Appium] port: 4737
2016-07-20 13:52:51:008 - [Appium] callbackPort: 9222
2016-07-20 13:52:51:008 - [Appium] sessionOverride: true
2016-07-20 13:52:51:008 - [Appium] logTimestamp: true
2016-07-20 13:52:51:009 - [Appium] localTimezone: true
2016-07-20 13:52:51:010 - [Appium] safari: true
2016-07-20 13:52:51:010 - [Appium] debugLogSpacing: true
2016-07-20 13:52:51:010 - [Appium] platformName: ‘iOS’
2016-07-20 13:52:51:011 - [Appium] platformVersion: ‘8.0’
2016-07-20 13:52:51:012 - [Appium] deviceName: ‘iPhone 6 Plus’
2016-07-20 13:52:51:013 - [Appium] browserName: ‘Safari’
2016-07-20 13:52:51:013 - [Appium] udid: ‘[spoiler]ea4059dcea980ac2ad67a31e088051749267b8b0[/spoiler]’
2016-07-20 13:52:51:014 - [Appium] showIOSLog: true
2016-07-20 13:52:51:014 - [Appium] Deprecated server args:
2016-07-20 13:52:51:015 - [Appium] --platform-name => --default-capabilities ‘{“platformName”:“iOS”}’
2016-07-20 13:52:51:015 - [Appium] --platform-version => --default-capabilities ‘{“platformVersion”:“8.0”}’
2016-07-20 13:52:51:015 - [Appium] --device-name => --default-capabilities ‘{“deviceName”:“iPhone 6 Plus”}’
2016-07-20 13:52:51:015 - [Appium] --browser-name => --default-capabilities ‘{“browserName”:“Safari”}’
2016-07-20 13:52:51:016 - [Appium] -U,–udid => --default-capabilities ‘{“udid”:"[spoiler]ea4059dcea980ac2ad67a31e088051749267b8b0[/spoiler]"}’
2016-07-20 13:52:51:016 - [Appium] --show-ios-log => --default-capabilities ‘{“showIOSLog”:true}’
2016-07-20 13:52:51:016 - [Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities:
2016-07-20 13:52:51:030 - [Appium] platformName: ‘iOS’
2016-07-20 13:52:51:030 - [Appium] platformVersion: ‘8.0’
2016-07-20 13:52:51:031 - [Appium] deviceName: ‘iPhone 6 Plus’
2016-07-20 13:52:51:031 - [Appium] browserName: ‘Safari’
2016-07-20 13:52:51:031 - [Appium] udid: ‘[spoiler]ea4059dcea980ac2ad67a31e088051749267b8b0[/spoiler]’
2016-07-20 13:52:51:032 - [Appium] showIOSLog: true
2016-07-20 13:52:51:108 - [Appium] Appium REST http interface listener started on 127.0.0.1:4737
2016-07-20 13:52:51:352 - [HTTP] --> GET /wd/hub/status {}
2016-07-20 13:52:51:353 - [MJSONWP] Calling AppiumDriver.getStatus() with args: []
2016-07-20 13:52:51:365 - [MJSONWP] Responding to client with driver.getStatus() result: {“build”:{“version”:“1.5.3”…
2016-07-20 13:52:51:371 - [HTTP] <-- GET /wd/hub/status 200 16 ms - 83
2016-07-20 13:52:53:710 - [HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“safariIgnoreFraudWarning”:true,“platformVersion”:“8.0”,“safariAllowPopups”:false,“bundleId”:“com.SafariLauncher.SafariLauncher”,“browserName”:“Safari”,“platformName”:“iOS”,“udid”:"[spoiler]ea4059dcea980ac2ad67a31e088051749267b8b0[/spoiler]",“deviceName”:"[spoiler]Hitesh’s iPhone[/spoiler]"}}
2016-07-20 13:52:53:711 - [MJSONWP] Calling AppiumDriver.createSession() with args: [{"safariIgnoreFraudWarning…
2016-07-20 13:52:53:713 - [Appium] Creating new IosDriver session
2016-07-20 13:52:53:713 - [Appium] Capabilities:
2016-07-20 13:52:53:713 - [Appium] safariIgnoreFraudWarning: true
2016-07-20 13:52:53:714 - [Appium] platformVersion: ‘8.0’
2016-07-20 13:52:53:714 - [Appium] safariAllowPopups: false
2016-07-20 13:52:53:714 - [Appium] bundleId: ‘com.SafariLauncher.SafariLauncher’
2016-07-20 13:52:53:715 - [Appium] browserName: ‘Safari’
2016-07-20 13:52:53:715 - [Appium] platformName: ‘iOS’
2016-07-20 13:52:53:715 - [Appium] udid: [spoiler]‘ea4059dcea980ac2ad67a31e088051749267b8b0’[/spoiler]
2016-07-20 13:52:53:715 - [Appium] deviceName: ‘[spoiler]Hitesh’s iPhone[/spoiler]’
2016-07-20 13:52:53:715 - [Appium] showIOSLog: true
2016-07-20 13:52:53:722 - [BaseDriver] Session created with session id: 8fdc27f1-fc3f-4c4a-b8f4-e431fafad563
2016-07-20 13:52:53:724 - [debug] [iOS] Not auto-detecting udid.
2016-07-20 13:52:53:726 - [debug] [iOS] Creating iDevice object with udid [spoiler]ea4059dcea980ac2ad67a31e088051749267b8b0[/spoiler]
2016-07-20 13:52:55:288 - [debug] [iOS] Removing any remaining instruments sockets
2016-07-20 13:52:55:293 - [debug] [iOS] Cleaned up instruments socket /var/folders/py/kgvfbnsd4dl8xvx3nktsh6p00000gn/T/instruments_sock
2016-07-20 13:52:55:294 - [debug] [iOS] No language specified. Using default strings
2016-07-20 13:52:55:297 - [debug] [iOS] Strings file not found. Looking in ‘en.lproj’ directory
2016-07-20 13:52:55:298 - [iOS] Could not file localizable strings file ‘Localizable.strings’!
2016-07-20 13:52:55:298 - [debug] [iOS] Creating instruments
2016-07-20 13:52:55:299 - [debug] [UIAuto] Preparing bootstrap code
2016-07-20 13:52:55:299 - [debug] [UIAuto] Dynamic bootstrap dir: /Users/vbs/Library/Application Support/appium/bootstrap
2016-07-20 13:52:55:300 - [debug] [UIAuto] Dynamic env: {“nodePath”:"/usr/local/bin/node",“commandProxyClientPath”:"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js",“instrumentsSock”:"/var/folders/py/kgvfbnsd4dl8xvx3nktsh6p00000gn/T/instruments_sock",“interKeyDelay”:null,“justLoopInfinitely”:false,“autoAcceptAlerts”:false,“autoDismissAlerts”:false,“sendKeyStrategy”:“grouped”}
2016-07-20 13:52:55:319 - [debug] [UIAuto] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify!
…
2016-07-20 13:52:55:319 - [debug] [UIAuto] Dynamic bootstrap path: /Users/vbs/Library/Application Support/appium/bootstrap/bootstrap-bcf5a832c5089d74.js
2016-07-20 13:52:55:320 - [debug] [UIAuto] Reusing dynamic bootstrap: /Users/vbs/Library/Application Support/appium/bootstrap/bootstrap-bcf5a832c5089d74.js
2016-07-20 13:52:55:323 - [debug] [iOS] Running ios real device reset flow
2016-07-20 13:52:55:325 - [debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
2016-07-20 13:52:55:326 - [debug] [iOSLog] Found idevicesyslog: ‘/usr/local/bin/idevicesyslog’
2016-07-20 13:52:56:956 - [debug] [iOS] App is installed.
2016-07-20 13:52:56:956 - [debug] [iOS] fullReset not requested. No need to install.
2016-07-20 13:52:56:957 - [debug] [iOS] Starting UIAutoClient, and launching Instruments.
2016-07-20 13:52:56:968 - [debug] [UIAuto] Instruments socket server started at /var/folders/py/kgvfbnsd4dl8xvx3nktsh6p00000gn/T/instruments_sock
2016-07-20 13:52:56:994 - [debug] [Instruments] Instruments is at: /Applications/Xcode 4.app/Contents/Developer/usr/bin/instruments
2016-07-20 13:52:56:994 - [debug] [Instruments] Attempting to launch instruments, this is try #1
2016-07-20 13:52:56:995 - [Instruments] Launching instruments
2016-07-20 13:52:57:006 - [debug] [Instruments] Attempting to run app on real device with UDID ‘[spoiler]ea4059dcea980ac2ad67a31e088051749267b8b0[/spoiler]’
2016-07-20 13:52:57:007 - [debug] [Instruments] Found Insruments-Without-Delay: /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-instruments/thirdparty/iwd7
2016-07-20 13:52:57:008 - [debug] [Instruments] Spawning instruments with command: ‘"/Applications/Xcode 4.app/Contents/Developer/usr/bin/instruments" -t “/Applications/Xcode 4.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate” -D /var/folders/py/kgvfbnsd4dl8xvx3nktsh6p00000gn/T/appium-instruments/instrumentscli0.trace -w [spoiler]ea4059dcea980ac2ad67a31e088051749267b8b0[/spoiler] com.bytearc.SafariLauncher -e UIASCRIPT “/Users/vbs/Library/Application Support/appium/bootstrap/bootstrap-bcf5a832c5089d74.js” -e UIARESULTSPATH /var/folders/py/kgvfbnsd4dl8xvx3nktsh6p00000gn/T/appium-instruments’
2016-07-20 13:52:57:008 - [debug] [Instruments] And extra without-delay env: {}
2016-07-20 13:52:57:008 - [debug] [Instruments] And launch timeouts (in ms): {“global”:90000}
2016-07-20 13:52:57:650 - [debug] [Instruments] [INST STDERR] 2016-07-20 13:52:57.649 instruments[2438:86785] WebKit Threading Violation - initial use of WebKit from a secondary thread.
2016-07-20 13:52:58:633 - [UIAuto] Instruments is ready to receive commands
2016-07-20 13:52:58:635 - [debug] [iOS] Instruments launched. Starting poll loop for new commands.
2016-07-20 13:52:58:635 - [debug] [iOS] Setting bootstrap config keys/values
2016-07-20 13:52:58:636 - [debug] [UIAuto] Socket data received (2 bytes)
2016-07-20 13:52:58:637 - [debug] [UIAuto] Got a result when we were not expecting one! Ignoring it
2016-07-20 13:52:58:638 - [debug] [UIAuto] Sending command to instruments: target = $.target();
au = $;
$.isVerbose = true;
2016-07-20 13:52:59:534 - [debug] [Instruments] [INST] 2016-07-20 08:22:57 +0000 Debug: evaluation finished
2016-07-20 13:52:59:534 - [debug] [Instruments] [INST] 2016-07-20 08:22:57 +0000 Debug: responding with:
2016-07-20 13:52:59:535 - [debug] [Instruments] [INST] 2016-07-20 08:22:57 +0000 Debug: Running system command #1: /usr/local/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js /var/folders/py/kgvfbnsd4dl8xvx3nktsh6p00000gn/T/instruments_sock 2,{“status”:0,“value”:true}…
2016-07-20 13:52:59:597 - [debug] [UIAuto] Socket data received (27 bytes)
2016-07-20 13:52:59:598 - [debug] [UIAuto] Got result from instruments: {“status”:0,“value”:true}
2016-07-20 13:52:59:599 - [debug] [iOS] Setting initial orientation to PORTRAIT
2016-07-20 13:52:59:599 - [debug] [UIAuto] Sending command to instruments: au.setScreenOrientation(‘PORTRAIT’)
2016-07-20 13:52:59:710 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:52:57 Hiteshs-iPhone kernel[0] : xpcproxy[342] Container: /private/var/mobile/Containers/Data/Application/9A385D70-C415-42F9-840C-C000846EA77C (sandbox)
2016-07-20 13:52:59:715 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:52:55 Hiteshs-iPhone locationd[58] : Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
2016-07-20 13:52:59:715 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:52:55 Hiteshs-iPhone DTMobileIS[192] : kernel symbolicator unable to open /mach.release.t7000
2016-07-20 13:52:59:716 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:52:55 Hiteshs-iPhone notification_proxy[168] : 0x100484000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!
2016-07-20 13:52:59:717 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:52:55 Hiteshs-iPhone SafariLauncher[342] : assertion failed: 12A366: libxpc.dylib + 71820 [4BC9CA3D-4DEE-314C-ADBF-53BDCEEFE45C]: 0x7d
2016-07-20 13:52:59:718 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:52:55 Hiteshs-iPhone Unknown[342] :
2016-07-20 13:52:59:722 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:52:55 Hiteshs-iPhone SafariLauncher[342] : App setting not found. Initializing app settings to default values.
2016-07-20 13:52:59:726 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:52:55 Hiteshs-iPhone SafariLauncher[342] : height - 568.000000 : width - 320.000000
2016-07-20 13:52:59:732 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:52:56 Hiteshs-iPhone locationd[58] : Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
2016-07-20 13:52:59:732 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:52:56 Hiteshs-iPhone lsuseractivityd[143] : PICKING: - - “-”, as the current item-to-advertise (current=D382B811-B976-4550-8A25-ABC820A0E62D com.google.chrome.handoff (null), 933821298b7a25). (CornerActionManager.m #734)
2016-07-20 13:52:59:733 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:52:56 Hiteshs-iPhone lsuseractivityd[143] : ADVERTISING: Removing advertisement <93382129 8b7a25>/D382B811-B976-4550-8A25-ABC820A0E62D because self.currentAdvertisedItem is != nil and no longer a current item. (CornerActionManager.m #1202)
2016-07-20 13:52:59:733 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:52:56 Hiteshs-iPhone lsuseractivityd[143] : UPDATEADVERTISEMENT: Removing advertisement <93382129 8b7a25>/D382B811-B976-4550-8A25-ABC820A0E62D because self.currentAdvertisedItem is != nil but no longer a current item. (CornerActionManager.m #1418)
2016-07-20 13:52:59:734 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:52:56 Hiteshs-iPhone lsuseractivityd[143] : – Removing advertisement (was D382B811-B976-4550-8A25-ABC820A0E62D 933821298b7a250178) (CornerActionManager.m #1463)
2016-07-20 13:52:59:736 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:52:56 Hiteshs-iPhone sharingd[57] : 13:52:56.525 : Stopping Handoff advertising
2016-07-20 13:52:59:738 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:52:56 Hiteshs-iPhone locationd[58] : Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
2016-07-20 13:52:59:794 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:52:57 Hiteshs-iPhone com.apple.AppleHDQGasGauge[20] : CCA: disabled DLOG updatesDone=720 ccaDeadline=1469002997
2016-07-20 13:53:00:615 - [debug] [Instruments] [INST] 2016-07-20 08:22:58 +0000 Debug: Got new command 1 from instruments: au.setScreenOrientation(‘PORTRAIT’)
2016-07-20 13:53:00:616 - [debug] [Instruments] [INST] 2016-07-20 08:22:58 +0000 Debug: evaluating au.setScreenOrientation(‘PORTRAIT’)
2016-07-20 13:53:00:617 - [debug] [Instruments] [INST] 2016-07-20 08:22:58 +0000 Debug: target.setDeviceOrientation(“1”)
2016-07-20 13:53:00:987 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:52:58 Hiteshs-iPhone sharingd[57] : 13:52:58.531 : Stopping Handoff advertising
2016-07-20 13:53:01:571 - [debug] [Instruments] [INST] 2016-07-20 08:22:59 +0000 Debug: evaluation finished
2016-07-20 13:53:01:572 - [debug] [Instruments] [INST] 2016-07-20 08:22:59 +0000 Debug: responding with:
2016-07-20 13:53:01:573 - [debug] [Instruments] [INST] 2016-07-20 08:22:59 +0000 Debug: Running system command #2: /usr/local/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js /var/folders/py/kgvfbnsd4dl8xvx3nktsh6p00000gn/T/instruments_sock 2,{“status”:0,“value”:“PORTRAIT”}…
2016-07-20 13:53:01:634 - [debug] [UIAuto] Socket data received (33 bytes)
2016-07-20 13:53:01:634 - [debug] [UIAuto] Got result from instruments: {“status”:0,“value”:“PORTRAIT”}
2016-07-20 13:53:01:636 - [debug] [iOS] Attempting to launch Safari from Safari Launcher
2016-07-20 13:53:01:637 - [debug] [BaseDriver] Waiting up to 0 ms for condition
2016-07-20 13:53:01:639 - [debug] [UIAuto] Sending command to instruments: au.getElementByAccessibilityId(‘launch safari’)
2016-07-20 13:53:02:476 - [HTTP] --> GET /wd/hub/status {}
2016-07-20 13:53:02:476 - [MJSONWP] Calling AppiumDriver.getStatus() with args: []
2016-07-20 13:53:02:536 - [debug] [Instruments] [INST] 2016-07-20 08:23:00 +0000 Debug: Got new command 2 from instruments: au.getElementByAccessibilityId(‘launch safari’)
2016-07-20 13:53:02:537 - [debug] [Instruments] [INST] 2016-07-20 08:23:00 +0000 Debug: evaluating au.getElementByAccessibilityId(‘launch safari’)
2016-07-20 13:53:02:574 - [debug] [Instruments] [INST] 2016-07-20 08:23:00 +0000 Debug: evaluation finished
2016-07-20 13:53:02:575 - [debug] [Instruments] [INST] 2016-07-20 08:23:00 +0000 Debug: Lookup returned [object UIAButton] with the name “launch safari” (id: 0).
2016-07-20 13:53:02:575 - [debug] [Instruments] [INST] 2016-07-20 08:23:00 +0000 Debug: responding with:
2016-07-20 13:53:02:576 - [debug] [Instruments] [INST] 2016-07-20 08:23:00 +0000 Debug: Running system command #3: /usr/local/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js /var/folders/py/kgvfbnsd4dl8xvx3nktsh6p00000gn/T/instruments_sock 2,{“status”:0,“value”:{“ELEMENT”:“0”}}…
2016-07-20 13:53:02:633 - [debug] [UIAuto] Socket data received (38 bytes)
2016-07-20 13:53:02:634 - [debug] [UIAuto] Got result from instruments: {“status”:0,“value”:{“ELEMENT”:“0”}}
2016-07-20 13:53:02:635 - [debug] [UIAuto] Sending command to instruments: au.tapById(‘0’)
2016-07-20 13:53:03:478 - [HTTP] <-- GET /wd/hub/status - - ms - -
2016-07-20 13:53:03:592 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:53:01 Hiteshs-iPhone MobileGestaltHelper[79] : libMobileGestalt MobileGestalt.c:273: server_access_check denied access to question UniqueDeviceID for pid 343
2016-07-20 13:53:03:599 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:53:01 Hiteshs-iPhone ScriptAgent[343] : libMobileGestalt MobileGestaltSupport.m:170: pid 343 (ScriptAgent) does not have sandbox access for re6Zb+zwFKJNlkQTUeT+/w and IS NOT appropriately entitled
2016-07-20 13:53:03:605 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:53:01 Hiteshs-iPhone ScriptAgent[343] : libMobileGestalt MobileGestalt.c:534: no access to UniqueDeviceID (see rdar://problem/11744455)
2016-07-20 13:53:03:634 - [debug] [Instruments] [INST] 2016-07-20 08:23:01 +0000 Debug: Got new command 3 from instruments: au.tapById(‘0’)
2016-07-20 13:53:03:634 - [debug] [Instruments] [INST] 2016-07-20 08:23:01 +0000 Debug: evaluating au.tapById(‘0’)
2016-07-20 13:53:03:635 - [debug] [Instruments] [INST] 2016-07-20 08:23:01 +0000 Debug: UIAButton.tap()
2016-07-20 13:53:03:785 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:53:01 Hiteshs-iPhone SafariLauncher[342] : Launching URL - http://www.apple.com
2016-07-20 13:53:03:882 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:53:01 Hiteshs-iPhone locationd[58] : Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
2016-07-20 13:53:03:905 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:53:01 Hiteshs-iPhone lsuseractivityd[143] : – Setting _frontmostPid = 196 (was 0) and trigger pickNewAdvertisement because this process has a current activity. (LSUserActivityClientProcess.m #410)
2016-07-20 13:53:03:974 - [debug] [UIAuto] Socket data received (25 bytes)
2016-07-20 13:53:03:974 - [debug] [UIAuto] Got result from instruments: {“status”:0,“value”:""}
2016-07-20 13:53:03:975 - [debug] [iOS] Clicked button, safari should be launching.
2016-07-20 13:53:03:975 - [debug] [iOS] Waiting for initial webview
2016-07-20 13:53:03:976 - [debug] [iOS] Waiting for 3000 ms before navigating to view.
2016-07-20 13:53:04:532 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:53:02 Hiteshs-iPhone lsuseractivityd[143] : PICKING: E2CAD355-D2F1-4375-8F06-7CA046122695 NSUserActivityTypeBrowsingWeb “Apple”, 41e36baf264809 as the current item-to-advertise (current=- - -, ). (CornerActionManager.m #734)
2016-07-20 13:53:04:540 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:53:02 Hiteshs-iPhone locationd[58] : Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
2016-07-20 13:53:04:541 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:53:02 Hiteshs-iPhone lsuseractivityd[143] : – Advertising new item or updating user-idle time in previous advertisement, NSUserActivityTypeBrowsingWeb/E2CAD355-D2F1-4375-8F06-7CA046122695/“Apple” (CornerActionManager.m #1322)
2016-07-20 13:53:04:544 - [HTTP] --> GET /wd/hub/status {}
2016-07-20 13:53:04:545 - [MJSONWP] Calling AppiumDriver.getStatus() with args: []
2016-07-20 13:53:04:549 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:53:02 Hiteshs-iPhone sharingd[57] : 13:53:02.090 : Stopping Handoff advertising
2016-07-20 13:53:04:550 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:53:02 Hiteshs-iPhone lsuseractivityd[143] : ADVERTISING:41e36baf2648090181 “E2CAD355-D2F1-4375-8F06-7CA046122695” type=NSUserActivityTypeBrowsingWeb at 2016-07-20 08:23:01 +0000 opts=(null) (CornerActionManager.m #1385)
2016-07-20 13:53:05:545 - [HTTP] <-- GET /wd/hub/status - - ms - -
2016-07-20 13:53:06:148 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:53:03 Hiteshs-iPhone webinspectord[344] : No debugger connection after 2 seconds; exiting.
2016-07-20 13:53:06:169 - [iOSLog] [IOS_SYSLOG_ROW] Jul 20 13:53:03 Hiteshs-iPhone com.apple.xpc.launchd[1] (com.apple.webinspectord[344]) : Service exited with abnormal code: 1
2016-07-20 13:53:06:609 - [HTTP] --> GET /wd/hub/status {}
2016-07-20 13:53:06:609 - [MJSONWP] Calling AppiumDriver.getStatus() with args: []
2016-07-20 13:53:06:978 - [debug] [iOS] Navigating to most recently opened webview
2016-07-20 13:53:06:979 - [debug] [iOS] Retrieving contexts and views
2016-07-20 13:53:06:980 - [debug] [iOS] Selecting by url: true (expected url: ‘undefined’)
2016-07-20 13:53:06:982 - [debug] [RemoteDebugger] Getting WebKitRemoteDebugger pageArray: localhost, 27753
2016-07-20 13:53:06:983 - [debug] [RemoteDebugger] Sending request to: http://localhost:27753/json
2016-07-20 13:53:06:995 - [iOS] Attempted to get a list of webview contexts but could not connect to ios-webkit-debug-proxy. If you expect to find webviews, please ensure that the proxy is running and accessible
2016-07-20 13:53:06:995 - [debug] [iOS] No web frames found.
2016-07-20 13:53:06:996 - [iOS] Could not find any webviews yet, refreshing/retrying
2016-07-20 13:53:07:498 - [debug] [iOS] Retrieving contexts and views
2016-07-20 13:53:07:499 - [debug] [iOS] Selecting by url: true (expected url: ‘undefined’)
2016-07-20 13:53:07:499 - [debug] [RemoteDebugger] Getting WebKitRemoteDebugger pageArray: localhost, 27753
2016-07-20 13:53:07:500 - [debug] [RemoteDebugger] Sending request to: http://localhost:27753/json
2016-07-20 13:53:07:506 - [iOS] Attempted to get a list of webview contexts but could not connect to ios-webkit-debug-proxy. If you expect to find webviews, please ensure that the proxy is running and accessible
2016-07-20 13:53:07:506 - [debug] [iOS] No web frames found.
2016-07-20 13:53:07:507 - [iOS] Could not find any webviews yet, refreshing/retrying
2016-07-20 13:53:07:608 - [HTTP] <-- GET /wd/hub/status - - ms - -
2016-07-20 13:53:08:008 - [debug] [iOS] Retrieving contexts and views
2016-07-20 13:53:08:008 - [debug] [iOS] Selecting by url: true (expected url: ‘undefined’)
2016-07-20 13:53:08:008 - [debug] [RemoteDebugger] Getting WebKitRemoteDebugger pageArray: localhost, 27753
2016-07-20 13:53:08:009 - [debug] [RemoteDebugger] Sending request to: http://localhost:27753/json
2016-07-20 13:53:08:013 - [iOS] Attempted to get a list of webview contexts but could not connect to ios-webkit-debug-proxy. If you expect to find webviews, please ensure that the proxy is running and accessible
2016-07-20 13:53:08:013 - [debug] [iOS] No web frames found.
2016-07-20 13:53:08:013 - [iOS] Could not find any webviews yet, refreshing/retrying
2016-07-20 13:53:08:518 - [debug] [iOS] Retrieving contexts and views
2016-07-20 13:53:08:518 - [debug] [iOS] Selecting by url: true (expected url: ‘undefined’)
2016-07-20 13:53:08:519 - [debug] [RemoteDebugger] Getting WebKitRemoteDebugger pageArray: localhost, 27753
2016-07-20 13:53:08:519 - [debug] [RemoteDebugger] Sending request to: http://localhost:27753/json
2016-07-20 13:53:08:523 - [iOS] Attempted to get a list of webview contexts but could not connect to ios-webkit-debug-proxy. If you expect to find webviews, please ensure that the proxy is running and accessible
2016-07-20 13:53:08:523 - [debug] [iOS] No web frames found.
2016-07-20 13:53:08:523 - [iOS] Could not find any webviews yet, refreshing/retrying
2016-07-20 13:53:08:683 - [HTTP] --> GET /wd/hub/status {}
2016-07-20 13:53:08:683 - [MJSONWP] Calling AppiumDriver.getStatus() with args: []
2016-07-20 13:53:09:029 - [debug] [iOS] Retrieving contexts and views
2016-07-20 13:53:09:030 - [debug] [iOS] Selecting by url: true (expected url: ‘undefined’)
2016-07-20 13:53:09:030 - [debug] [RemoteDebugger] Getting WebKitRemoteDebugger pageArray: localhost, 27753
2016-07-20 13:53:09:030 - [debug] [RemoteDebugger] Sending request to: http://localhost:27753/json
2016-07-20 13:53:09:034 - [iOS] Attempted to get a list of webview contexts but could not connect to ios-webkit-debug-proxy. If you expect to find webviews, please ensure that the proxy is running and accessible
2016-07-20 13:53:09:035 - [debug] [iOS] No web frames found.
2016-07-20 13:53:09:035 - [iOS] Could not find any webviews yet, refreshing/retrying
2016-07-20 13:53:09:537 - [debug] [iOS] Retrieving contexts and views
2016-07-20 13:53:09:537 - [debug] [iOS] Selecting by url: true (expected url: ‘undefined’)
2016-07-20 13:53:09:537 - [debug] [RemoteDebugger] Getting WebKitRemoteDebugger pageArray: localhost, 27753
2016-07-20 13:53:09:538 - [debug] [RemoteDebugger] Sending request to: http://localhost:27753/json
2016-07-20 13:53:09:541 - [iOS] Attempted to get a list of webview contexts but could not connect to ios-webkit-debug-proxy. If you expect to find webviews, please ensure that the proxy is running and accessible
2016-07-20 13:53:09:541 - [debug] [iOS] No web frames found.
2016-07-20 13:53:09:541 - [iOS] Could not find any webviews yet, refreshing/retrying
2016-07-20 13:53:09:681 - [HTTP] <-- GET /wd/hub/status - - ms - -
2016-07-20 13:53:10:046 - [debug] [iOS] Retrieving contexts and views
2016-07-20 13:53:10:046 - [debug] [iOS] Selecting by url: true (expected url: ‘undefined’)
2016-07-20 13:53:10:047 - [debug] [RemoteDebugger] Getting WebKitRemoteDebugger pageArray: localhost, 27753
2016-07-20 13:53:10:048 - [debug] [RemoteDebugger] Sending request to: http://localhost:27753/json
2016-07-20 13:53:10:051 - [iOS] Attempted to get a list of webview contexts but could not connect to ios-webkit-debug-proxy. If you expect to find webviews, please ensure that the proxy is running and accessible
2016-07-20 13:53:10:051 - [debug] [iOS] No web frames found.
2016-07-20 13:53:10:052 - [iOS] Could not find any webviews yet, refreshing/retrying
2016-07-20 13:53:10:552 - [debug] [iOS] Retrieving contexts and views
2016-07-20 13:53:10:552 - [debug] [iOS] Selecting by url: true (expected url: ‘undefined’)
2016-07-20 13:53:10:553 - [debug] [RemoteDebugger] Getting WebKitRemoteDebugger pageArray: localhost, 27753
2016-07-20 13:53:10:553 - [debug] [RemoteDebugger] Sending request to: http://localhost:27753/json
2016-07-20 13:53:10:556 - [iOS] Attempted to get a list of webview contexts but could not connect to ios-webkit-debug-proxy. If you expect to find webviews, please ensure that the proxy is running and accessible
2016-07-20 13:53:10:557 - [debug] [iOS] No web frames found.
2016-07-20 13:53:10:557 - [iOS] Could not find any webviews yet, refreshing/retrying
2016-07-20 13:53:10:748 - [HTTP] --> GET /wd/hub/status {}
2016-07-20 13:53:10:749 - [MJSONWP] Calling AppiumDriver.getStatus() with args: []
2016-07-20 13:53:11:062 - [debug] [iOS] Retrieving contexts and views
2016-07-20 13:53:11:063 - [debug] [iOS] Selecting by url: true (expected url: ‘undefined’)
2016-07-20 13:53:11:063 - [debug] [RemoteDebugger] Getting WebKitRemoteDebugger pageArray: localhost, 27753
2016-07-20 13:53:11:063 - [debug] [RemoteDebugger] Sending request to: http://localhost:27753/json
2016-07-20 13:53:11:066 - [iOS] Attempted to get a list of webview contexts but could not connect to ios-webkit-debug-proxy. If you expect to find webviews, please ensure that the proxy is running and accessible
2016-07-20 13:53:11:066 - [debug] [iOS] No web frames found.
2016-07-20 13:53:11:067 - [iOS] Could not find any webviews yet, refreshing/retrying
2016-07-20 13:53:11:568 - [debug] [iOS] Retrieving contexts and views
2016-07-20 13:53:11:569 - [debug] [iOS] Selecting by url: true (expected url: ‘undefined’)
2016-07-20 13:53:11:570 - [debug] [RemoteDebugger] Getting WebKitRemoteDebugger pageArray: localhost, 27753
2016-07-20 13:53:11:570 - [debug] [RemoteDebugger] Sending request to: http://localhost:27753/json
2016-07-20 13:53:11:574 - [iOS] Attempted to get a list of webview contexts but could not connect to ios-webkit-debug-proxy. If you expect to find webviews, please ensure that the proxy is running and accessible
2016-07-20 13:53:11:574 - [debug] [iOS] No web frames found.
2016-07-20 13:53:11:575 - [iOS] Could not find any webviews yet, refreshing/retrying
2016-07-20 13:53:11:748 - [HTTP] <-- GET /wd/hub/status - - ms - -