howitzer icon indicating copy to clipboard operation
howitzer copied to clipboard

Web tests not working while running tests on mobile device using Appium driver

Open arpitsinghmrt opened this issue 7 years ago • 5 comments

Meta

Howitzer Version: 2.1.1 Driver and browser information: selenium 3.8.0

Expected Behavior

It should work on mobile browsers too.

Actual Behavior

Tests don't run on iPad whereas same tests are running when running on the desktop browsers. Not much information is provided in stack trace only the below error is displayed in the method that implements click functionality: Method has not yet been implemented (Selenium::WebDriver::Error::UnknownError)

Steps to reproduce

I am facing a problem while writing a test for a web app to run on an iPad. While running it using Howitzer framework on a browser on my mac machine, it doesn't cause any problem. But as soon as I switch to Appium driver I am able to launch browser and open the site URL on a ios simulator but as soon as I try to click a button on that page it shows an error Method has not yet been implemented (Selenium::WebDriver::Error::UnknownError)

I have a page class which inherits Howitzer::Web::Page class and has a method which performs click on the element. I am calling that method inside my step definition. That is where it fails.

arpitsinghmrt avatar Feb 06 '18 10:02 arpitsinghmrt

@arpitsinghmrt can you share your backtrace please? It is unclear, which method is not implemented from the description. I suppose backtrace can help to identify it

romikoops avatar Feb 06 '18 11:02 romikoops

@romikoops should I share the Appium logs if that helps?

arpitsinghmrt avatar Feb 07 '18 06:02 arpitsinghmrt

Hi, @romikoops please find the logs below:

Ruby Logs:

/Users/arpitsingh/.rvm/rubies/ruby-2.3.3/bin/ruby -S bundle exec cucumber -r features -v -x -f html -o ./log/appium_cucumber_log.html -f junit -o ./log -f pretty
Code:
  * features/support/env.rb
#######################################################
#                    All Settings                     #
#######################################################

  app_api_end_point                 =  api/v1
  app_api_protocol                  =  http
  app_api_token                     =  ********
  app_base_auth_login               =  login
  app_base_auth_pass                =  ********
  app_host                          =  localhost:3000
  app_protocol                      =  http
  app_test_pass                     =  ********pass
  app_test_user                     =  [email protected]
  app_test_user_name                =  Auto Tester
  capybara_wait_time                =  20
  cloud_auth_login                  =  some_user_or_client_key
  cloud_auth_pass                   =  ********_key
  cloud_browser_name                =  Chrome
  cloud_browser_version             =  31
  cloud_bstack_build                =  v1
  cloud_bstack_mobile_device        =  
  cloud_bstack_project              =  Howitzer Example
  cloud_bstack_resolution           =  1024x768
  cloud_cbt_build                   =  1.0
  cloud_cbt_name                    =  Howitzer Example
  cloud_cbt_os_api_name             =  Win7x64-C1
  cloud_cbt_record_network          =  true
  cloud_cbt_record_video            =  true
  cloud_cbt_screen_resolution       =  1024x768
  cloud_http_idle_timeout           =  40
  cloud_max_duration                =  1800
  cloud_platform                    =  any
  cloud_sauce_idle_timeout          =  180
  cloud_sauce_record_screenshots    =  false
  cloud_sauce_video_upload_on_pass  =  ********alse
  cloud_testingbot_idle_timeout     =  180
  cloud_testingbot_screenshots      =  false
  debug_mode                        =  true
  driver                            =  appium
  gmail_login                       =  gmail_address
  gmail_password                    =  ********word
  headless_chrome_flags             =  window-size=1920x1080, disable-gpu
  hide_datetime_from_log            =  false
  html_log                          =  log.html
  log_dir                           =  log
  mail_adapter                      =  mailgun
  mail_sleep_time                   =  3
  mail_wait_time                    =  60
  mailgun_domain                    =  mailgun_domain_with_stored_method
  mailgun_key                       =  ********_key
  mailtrap_api_token                =  ********_key
  mailtrap_inbox_id                 =  inbox_id
  maximized_window                  =  true
  page_load_idle_timeout            =  20
  phantom_ignore_js_errors          =  false
  phantom_ignore_ssl_errors         =  true
  required_clean_logs               =  true
  rspec_wait_timeout                =  10
  selenium_browser                  =  chrome
  selenium_hub_url                  =  http://example.com:4444/wd/hub
  selenium_server_log               =  selenium-server.log
  user_agent                        =  

  * features/support/hooks.rb
  * features/support/transformers.rb
  * features/step_definitions/common_steps.rb

Features:
  * features/example.feature

Feature: Example feature
 
*** Feature: EXAMPLE FEATURE ***
 => Scenario: Example Scenario
2018/02/09 11:04:29 [INFO] :: Open LandingPage page by 'http://login:pass@localhost:3000/' url

  Scenario: Example Scenario                 # features/example.feature:7
    Given I open Home Page                   # features/step_definitions/common_steps.rb:3
2018/02/09 11:04:35 [INFO] :: Clicking Get Started Button on the landing page
    And I click Get Started on the Home Page # features/step_definitions/common_steps.rb:7
      Method has not yet been implemented (Selenium::WebDriver::Error::UnknownError)
      ./features/step_definitions/common_steps.rb:9:in `/^I click Get Started on the Home Page$/'
      features/example.feature:9:in `And I click Get Started on the Home Page'
capybara-screenshot could not detect a screenshot driver for 'appium'. Saving with default with unknown results.
WARN: Screenshot could not be saved. An exception is raised: #<NoMethodError: undefined method `render' for #<Capybara::Selenium::Driver:0x007faae1e06558>>.
    HTML screenshot: log/capybara-screenshot-040053435q4fxa.html

Failing Scenarios:
cucumber features/example.feature:7 # Scenario: Example Scenario

1 scenario (1 failed)
2 steps (1 failed, 1 passed)
0m8.685s

Appium Logs:

[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"automationName":"XCUITest","browserName":"safari","platformVersion":"11.0","deviceName":"iPhone 7","platformName":"iOS","autoWebview":false},"capabilities":{"firstMatch":[{"browserName":"safari","platformName":"iOS"}]}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"automationName":"XCUITest","browserName":"safari","platformVersion":"11.0","deviceName":"iPhone 7","platformName":"iOS","autoWebview":false},null,{"firstMatch":[{"browserName":"safari","platformName":"iOS"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1518154593729 (11:06:33 GMT+0530 (IST))
[Appium] Creating new XCUITestDriver (v2.51.1) session
[Appium] Capabilities:
[Appium]   automationName: 'XCUITest'
[Appium]   browserName: 'safari'
[Appium]   platformVersion: '11.0'
[Appium]   deviceName: 'iPhone 7'
[Appium]   platformName: 'iOS'
[Appium]   autoWebview: false
[BaseDriver] Session created with session id: 3f7faa80-9d9a-4129-9d4f-f99518671dbf
[debug] [XCUITest] Xcode version set to '9.0.1'
[debug] [XCUITest] iOS SDK Version set to '11.0'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1518154593811 (11:06:33 GMT+0530 (IST))
[iOSSim] Constructing iOS simulator for Xcode version 9.0.1 with udid 'F1F36462-A859-45B8-8E8E-D624B0842607'
[XCUITest] Determining device to run tests on: udid: 'F1F36462-A859-45B8-8E8E-D624B0842607', real device: false
[XCUITest] Safari test requested
[debug] [BaseDriver] Event 'appConfigured' logged at 1518154594016 (11:06:34 GMT+0530 (IST))
[debug] [BaseDriver] Event 'resetStarted' logged at 1518154594016 (11:06:34 GMT+0530 (IST))
[debug] [iOSSim] Cleaning mobile safari data files
[debug] [iOSSim] Checking whether simulator has been run before
[debug] [iOSSim] Simulator has been run before
[debug] [iOSSim] Checking whether simulator has been run before
[debug] [iOSSim] Simulator has been run before
[debug] [iOSSim] Building bundle path map
[debug] [BaseDriver] Event 'resetComplete' logged at 1518154594447 (11:06:34 GMT+0530 (IST))
[debug] [iOSLog] Starting iOS 11.0 simulator log capture
[debug] [iOSLog] System log path: /Users/arpitsingh/Library/Logs/CoreSimulator/F1F36462-A859-45B8-8E8E-D624B0842607/system.log
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1518154594512 (11:06:34 GMT+0530 (IST))
[XCUITest] Setting up simulator
[debug] [iOS] No reason to set locale
[debug] [iOS] No iOS / app preferences to set
[debug] [iOSSim] Setting common Simulator preferences to {"ConnectHardwareKeyboard":false}
[debug] [iOSSim] Updated shared Simulator preferences at '/Users/arpitsingh/Library/Preferences/com.apple.iphonesimulator.plist' with {"ConnectHardwareKeyboard":false}
[debug] [iOSSim] The count of running Simulator UI client instances is 1
[iOSSim] Both Simulator with UDID F1F36462-A859-45B8-8E8E-D624B0842607 and the UI client are currently running
[debug] [BaseDriver] Event 'simStarted' logged at 1518154594742 (11:06:34 GMT+0530 (IST))
[XCUITest] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[debug] [XCUITest] Capability 'useNewWDA' set to false, so trying to reuse currently running WDA instance at 'http://localhost:8100/'
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n  \"value\" : {\n    \"state\" : \"success\",\n    \"os\" : {\n      \"name\" : \"iOS\",\n      \"version\" : \"11.0.1\"\n    },\n    \"ios\" : {\n      \"simulatorVersion\" : \"11.0.1\",\n      \"ip\" : \"10.133.21.190\"\n    },\n    \"build\" : {\n      \"time\" : \"Dec 21 2017 10:20:18\"\n    }\n  },\n  \"sessionId\" : \"D71C1F57-8954-4F10-A28E-D12334F21B58\",\n  \"status\" : 0\n}"
[debug] [XCUITest] Detected WDA listening at 'http://localhost:8100/'. Setting WDA endpoint to 'http://localhost:8100/'
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1518154594751 (11:06:34 GMT+0530 (IST))
[XCUITest] Using provided WebdriverAgent at 'http://localhost:8100/'
[debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1518154594752 (11:06:34 GMT+0530 (IST))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n  \"value\" : {\n    \"state\" : \"success\",\n    \"os\" : {\n      \"name\" : \"iOS\",\n      \"version\" : \"11.0.1\"\n    },\n    \"ios\" : {\n      \"simulatorVersion\" : \"11.0.1\",\n      \"ip\" : \"10.133.21.190\"\n    },\n    \"build\" : {\n      \"time\" : \"Dec 21 2017 10:20:18\"\n    }\n  },\n  \"sessionId\" : \"D71C1F57-8954-4F10-A28E-D12334F21B58\",\n  \"status\" : 0\n}"
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.apple.mobilesafari","arguments":["-u","http://0.0.0.0:4723/welcome"],"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":2,"WIRIsApplicationReadyKey":false,"WIRApplicationIdentifierKey":"PID:10757","WIRIsApplicationProxyKey":false,"WIRApplicationNameKey":"Safari","WIRApplicationBundleIdentifierKey":"com.apple.mobilesafari"},"__selector":"_rpc_applicationConnected:"}'
[debug] [RemoteDebugger] Notified that new application 'PID:10757' has connected
[debug] [RemoteDebugger] Current applications available:
[debug] [RemoteDebugger] Application: 'PID:10757'
[debug] [RemoteDebugger]     id: "PID:10757"
[debug] [RemoteDebugger]     isProxy: false
[debug] [RemoteDebugger]     name: "Safari"
[debug] [RemoteDebugger]     bundleId: "com.apple.mobilesafari"
[debug] [RemoteDebugger]     hostId: undefined
[debug] [RemoteDebugger]     isActive: 2
[debug] [RemoteDebugger]     isAutomationEnabled: false
[debug] [RemoteDebugger]     pageDict: "Waiting for data"
[debug] [RemoteDebugger] Found app id key 'PID:10757' for bundle 'com.apple.mobilesafari'
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:10757","WIRListingKey":{}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Page changed: {}
[debug] [iOS] Remote debugger notified us of a new page listing: {"appIdKey":"10757","pageArray":[]}
(node:1000) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 215): TypeError: Cannot read property 'appIdKey' of null
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":2,"WIRIsApplicationReadyKey":true,"WIRApplicationIdentifierKey":"PID:10757","WIRIsApplicationProxyKey":false,"WIRApplicationNameKey":"Safari","WIRApplicationBundleIdentifierKey":"com.apple.mobilesafari"},"__selector":"_rpc_applicationUpdated:"}'
[debug] [RemoteDebugger] Notified that application 'PID:10757' has been updated.
[debug] [RemoteDebugger] Current applications available:
[debug] [RemoteDebugger] Application: 'PID:10757'
[debug] [RemoteDebugger]     id: "PID:10757"
[debug] [RemoteDebugger]     isProxy: false
[debug] [RemoteDebugger]     name: "Safari"
[debug] [RemoteDebugger]     bundleId: "com.apple.mobilesafari"
[debug] [RemoteDebugger]     hostId: undefined
[debug] [RemoteDebugger]     isActive: 2
[debug] [RemoteDebugger]     isAutomationEnabled: false
[debug] [RemoteDebugger]     pageDict: []
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":1,"WIRIsApplicationReadyKey":false,"WIRApplicationIdentifierKey":"PID:10759","WIRIsApplicationProxyKey":true,"WIRApplicationNameKey":"com.apple.WebKit.WebContent","WIRApplicationBundleIdentifierKey":"com.apple.WebKit.WebContent","WIRHostApplicationIdentifierKey":"PID:10757"},"__selector":"_rpc_applicationConnected:"}'
[debug] [RemoteDebugger] Notified that new application 'PID:10759' has connected
[debug] [RemoteDebugger] Current applications available:
[debug] [RemoteDebugger] Application: 'PID:10757'
[debug] [RemoteDebugger]     id: "PID:10757"
[debug] [RemoteDebugger]     isProxy: false
[debug] [RemoteDebugger]     name: "Safari"
[debug] [RemoteDebugger]     bundleId: "com.apple.mobilesafari"
[debug] [RemoteDebugger]     hostId: undefined
[debug] [RemoteDebugger]     isActive: 2
[debug] [RemoteDebugger]     isAutomationEnabled: false
[debug] [RemoteDebugger]     pageDict: []
[debug] [RemoteDebugger] Application: 'PID:10759'
[debug] [RemoteDebugger]     id: "PID:10759"
[debug] [RemoteDebugger]     isProxy: true
[debug] [RemoteDebugger]     name: "com.apple.WebKit.WebContent"
[debug] [RemoteDebugger]     bundleId: "com.apple.WebKit.WebContent"
[debug] [RemoteDebugger]     hostId: "PID:10757"
[debug] [RemoteDebugger]     isActive: 1
[debug] [RemoteDebugger]     isAutomationEnabled: false
[debug] [RemoteDebugger]     pageDict: "Waiting for data"
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:10759","WIRListingKey":{}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received page change notice for app 'PID:10759' but listening for 'PID:10757'. Ignoring.
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":1,"WIRIsApplicationReadyKey":true,"WIRApplicationIdentifierKey":"PID:10759","WIRIsApplicationProxyKey":true,"WIRApplicationNameKey":"com.apple.WebKit.WebContent","WIRApplicationBundleIdentifierKey":"com.apple.WebKit.WebContent","WIRHostApplicationIdentifierKey":"PID:10757"},"__selector":"_rpc_applicationUpdated:"}'
[debug] [RemoteDebugger] Notified that application 'PID:10759' has been updated.
[debug] [RemoteDebugger] Current applications available:
[debug] [RemoteDebugger] Application: 'PID:10757'
[debug] [RemoteDebugger]     id: "PID:10757"
[debug] [RemoteDebugger]     isProxy: false
[debug] [RemoteDebugger]     name: "Safari"
[debug] [RemoteDebugger]     bundleId: "com.apple.mobilesafari"
[debug] [RemoteDebugger]     hostId: undefined
[debug] [RemoteDebugger]     isActive: 2
[debug] [RemoteDebugger]     isAutomationEnabled: false
[debug] [RemoteDebugger]     pageDict: []
[debug] [RemoteDebugger] Application: 'PID:10759'
[debug] [RemoteDebugger]     id: "PID:10759"
[debug] [RemoteDebugger]     isProxy: true
[debug] [RemoteDebugger]     name: "com.apple.WebKit.WebContent"
[debug] [RemoteDebugger]     bundleId: "com.apple.WebKit.WebContent"
[debug] [RemoteDebugger]     hostId: "PID:10757"
[debug] [RemoteDebugger]     isActive: 1
[debug] [RemoteDebugger]     isAutomationEnabled: false
[debug] [RemoteDebugger]     pageDict: []
[HTTP] --> GET /welcome {}
[debug] [HTTP] Sending welcome response with params: {"message":"Let's browse!"}
[HTTP] <-- GET /welcome 200 2 ms - 124
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:10759","WIRListingKey":{"1":{"WIRTitleKey":"Appium/welcome","WIRTypeKey":"WIRTypeWeb","WIRURLKey":"http://0.0.0.0:4723/welcome","WIRPageIdentifierKey":1}}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received page change notice for app 'PID:10759' but listening for 'PID:10757'. Ignoring.
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:10759","WIRListingKey":{"1":{"WIRTitleKey":"Appium/welcome","WIRTypeKey":"WIRTypeWeb","WIRURLKey":"http://0.0.0.0:4723/welcome","WIRPageIdentifierKey":1}}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received page change notice for app 'PID:10759' but listening for 'PID:10757'. Ignoring.
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"92B24E73-DF8B-4251-9CFE-4FE309025C70","capabilities":{"device":"iphone","browserName":"Safari","sdkVersion":"11.0.1","CFBundleIdentifier":"com.apple.mobilesafari"}},"sessionId":"92B24E73-DF8B-4251-9CFE-4FE309025C70","status":0}
[debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1518154597473 (11:06:37 GMT+0530 (IST))
[debug] [XCUITest] Cannot find a match for DerivedData folder path from lsof. Trying to access logs
[XCUITest] Setting '555' permissions to '/Users/arpitsingh/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Attachments' folder
[debug] [BaseDriver] Event 'wdaPermsAdjusted' logged at 1518154597554 (11:06:37 GMT+0530 (IST))
[debug] [BaseDriver] Event 'wdaStarted' logged at 1518154597554 (11:06:37 GMT+0530 (IST))
[debug] [XCUITest] Setting initial orientation to 'PORTRAIT'
[debug] [JSONWP Proxy] Proxying [POST /orientation] to [POST http://localhost:8100/session/92B24E73-DF8B-4251-9CFE-4FE309025C70/orientation] with body: {"orientation":"PORTRAIT"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{},"sessionId":"92B24E73-DF8B-4251-9CFE-4FE309025C70","status":0}
[debug] [BaseDriver] Event 'orientationSet' logged at 1518154598611 (11:06:38 GMT+0530 (IST))
[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:4723/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":{"WIRSimulatorProductVersionKey":"11.0.1","WIRSimulatorDeviceIdentifierKey":"F1F36462-A859-45B8-8E8E-D624B0842607","WIRSimulatorBuildKey":"15A8401","WIRSimulatorNameKey":"iPhone"},"__selector":"_rpc_reportSetup:"}'
[debug] [RemoteDebugger] Received response from socket send: '["iPhone","15A8401","11.0.1"]'
[debug] [RemoteDebugger] Sim name: iPhone
[debug] [RemoteDebugger] Sim build: 15A8401
[debug] [RemoteDebugger] Sim platform version: 11.0.1
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationDictionaryKey":{"PID:10757":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":2,"WIRIsApplicationReadyKey":true,"WIRApplicationIdentifierKey":"PID:10757","WIRIsApplicationProxyKey":false,"WIRApplicationNameKey":"Safari","WIRApplicationBundleIdentifierKey":"com.apple.mobilesafari"},"PID:10759":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":1,"WIRIsApplicationReadyKey":true,"WIRApplicationIdentifierKey":"PID:10759","WIRIsApplicationProxyKey":true,"WIRApplicationNameKey":"com.apple.WebKit.WebContent","WIRApplicationBundleIdentifierKey":"com.apple.WebKit.WebContent","WIRHostApplicationIdentifierKey":"PID:10757"}}},"__selector":"_rpc_reportConnectedApplicationList:"}'
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRDriverDictionaryKey":{}},"__selector":"_rpc_reportConnectedDriverList:"}'
[debug] [RemoteDebugger] Notified of connected drivers: {}.
[debug] [RemoteDebugger] Connected to application
[debug] [RemoteDebugger] Selecting application
[debug] [RemoteDebugger] Found app id key 'PID:10757' 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:10759'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:10759
[debug] [RemoteDebugger] Selecting app PID:10759 (try #1 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:10759","WIRListingKey":{"1":{"WIRTitleKey":"Appium/welcome","WIRTypeKey":"WIRTypeWeb","WIRURLKey":"http://0.0.0.0:4723/welcome","WIRPageIdentifierKey":1}}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received page change notice for app 'PID:10759' but listening for 'PID:10757'. Ignoring.
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:10759","WIRListingKey":{"1":{"WIRTitleKey":"Appium/welcome","WIRTypeKey":"WIRTypeWeb","WIRURLKey":"http://0.0.0.0:4723/welcome","WIRPageIdentifierKey":1}}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:10759",{"1":{"WIRTitleKey":"Appium/welcom...'
[debug] [RemoteDebugger] Received page change notice for app 'PID:10759' but listening for 'null'. Ignoring.
[debug] [RemoteDebugger] Received altered app id, updating from 'null' to 'PID:10759'
[debug] [RemoteDebugger] Finally selecting app PID:10759: [{"id":1,"title":"Appium/welcome","url":"http://0.0.0.0:4723/welcome","isKey":false}]
[debug] [iOS] Picking webview 'WEBVIEW_10759.1'
[debug] [iOS] Attempting to set context to 'WEBVIEW_10759.1'
[debug] [RemoteDebugger] Selecting page '1' on app 'PID:10759' 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 document.readyState; })()
[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
[debug] [BaseDriver] Event 'initialWebviewNavigated' logged at 1518154598628 (11:06:38 GMT+0530 (IST))
[Appium] New XCUITestDriver session created successfully, session 3f7faa80-9d9a-4129-9d4f-f99518671dbf added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1518154598629 (11:06:38 GMT+0530 (IST))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"safari","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"automationName":"XCUITest","platformVersion":"11.0","deviceName":"iPhone 7","platformName":"iOS","autoWebview":false,"udid":"F1F36462-A859-45B8-8E8E-D624B0842607"}
[HTTP] <-- POST /wd/hub/session 200 4910 ms - 439
[HTTP] --> POST /wd/hub/session/3f7faa80-9d9a-4129-9d4f-f99518671dbf/url {"url":"http://login:pass@localhost:3000/"}
[debug] [MJSONWP] Calling AppiumDriver.setUrl() with args: ["http://login:pass@localhost:3000/","3f7faa80-9d9a-4129-9d4f-f99518671dbf"]
[debug] [XCUITest] Executing command 'setUrl'
[debug] [iOS] Attempting to set url 'http://login:pass@localhost:3000/'
[debug] [RemoteDebugger] Navigating to new URL: http://login:pass@localhost:3000/
[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] No frame navigation callback set.
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:10759","WIRListingKey":{"1":{"WIRTitleKey":"ADFLOE","WIRTypeKey":"WIRTypeWeb","WIRURLKey":"http://localhost:3000/","WIRPageIdentifierKey":1,"WIRConnectionIdentifierKey":"ec5279f2-94b2-4f5b-a9be-73d999e61ecc"}}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received page change notice for app 'PID:10759' but listening for 'PID:10757'. Ignoring.
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":1,"WIRIsApplicationReadyKey":true,"WIRApplicationIdentifierKey":"PID:10759","WIRIsApplicationProxyKey":true,"WIRApplicationNameKey":"com.apple.WebKit.WebContent","WIRApplicationBundleIdentifierKey":"com.apple.WebKit.WebContent","WIRHostApplicationIdentifierKey":"PID:10757"},"__selector":"_rpc_applicationUpdated:"}'
[debug] [RemoteDebugger] Notified that application 'PID:10759' has been updated.
[debug] [RemoteDebugger] Current applications available:
[debug] [RemoteDebugger] Application: 'PID:10757'
[debug] [RemoteDebugger]     id: "PID:10757"
[debug] [RemoteDebugger]     isProxy: false
[debug] [RemoteDebugger]     name: "Safari"
[debug] [RemoteDebugger]     bundleId: "com.apple.mobilesafari"
[debug] [RemoteDebugger]     hostId: undefined
[debug] [RemoteDebugger]     isActive: 2
[debug] [RemoteDebugger]     isAutomationEnabled: false
[debug] [RemoteDebugger]     pageDict: []
[debug] [RemoteDebugger] Application: 'PID:10759'
[debug] [RemoteDebugger]     id: "PID:10759"
[debug] [RemoteDebugger]     isProxy: true
[debug] [RemoteDebugger]     name: "com.apple.WebKit.WebContent"
[debug] [RemoteDebugger]     bundleId: "com.apple.WebKit.WebContent"
[debug] [RemoteDebugger]     hostId: "PID:10757"
[debug] [RemoteDebugger]     isActive: 1
[debug] [RemoteDebugger]     isAutomationEnabled: false
[debug] [RemoteDebugger]     pageDict: [{"id":1,"title":"ADFLOE","url":"http://localhost:3000/","isKey":true}]
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:10759","WIRListingKey":{"1":{"WIRTitleKey":"ADFLOE","WIRTypeKey":"WIRTypeWeb","WIRURLKey":"http://localhost:3000/","WIRPageIdentifierKey":1,"WIRConnectionIdentifierKey":"ec5279f2-94b2-4f5b-a9be-73d999e61ecc"}}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Page changed: {"1":{"WIRTitleKey":"ADFLOE","WIRTypeKey":"WIRTypeWeb","WIRURLKey":"http://localhost:3000/","WIRPageIdentifierKey":1,"WIRConnectionIdentifierKey":"ec5279f2-94b2-4f5b-a9be-73d999e61ecc"}}
[debug] [iOS] Remote debugger notified us of a new page listing: {"appIdKey":"10759","pageArray":[{"id":1,"title":"ADFLOE","url":"http://localhost:3000/","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:10759","WIRIsApplicationProxyKey":true,"WIRApplicationNameKey":"com.apple.WebKit.WebContent","WIRApplicationBundleIdentifierKey":"com.apple.WebKit.WebContent","WIRHostApplicationIdentifierKey":"PID:10757"},"__selector":"_rpc_applicationUpdated:"}'
[debug] [RemoteDebugger] Notified that application 'PID:10759' has been updated.
[debug] [RemoteDebugger] Current applications available:
[debug] [RemoteDebugger] Application: 'PID:10757'
[debug] [RemoteDebugger]     id: "PID:10757"
[debug] [RemoteDebugger]     isProxy: false
[debug] [RemoteDebugger]     name: "Safari"
[debug] [RemoteDebugger]     bundleId: "com.apple.mobilesafari"
[debug] [RemoteDebugger]     hostId: undefined
[debug] [RemoteDebugger]     isActive: 2
[debug] [RemoteDebugger]     isAutomationEnabled: false
[debug] [RemoteDebugger] Application: 'PID:10759'
[debug] [RemoteDebugger]     id: "PID:10759"
[debug] [RemoteDebugger]     isProxy: true
[debug] [RemoteDebugger]     name: "com.apple.WebKit.WebContent"
[debug] [RemoteDebugger]     bundleId: "com.apple.WebKit.WebContent"
[debug] [RemoteDebugger]     hostId: "PID:10757"
[debug] [RemoteDebugger]     isActive: 1
[debug] [RemoteDebugger]     isAutomationEnabled: false
[debug] [RemoteDebugger]     pageDict: [{"id":1,"title":"ADFLOE","url":"http://localhost:3000/","isKey":true}]
[debug] [RemoteDebugger] Received applicationSentData response
[debug] [RemoteDebugger] Received applicationSentData response
[debug] [RemoteDebugger] Page loaded, verifying whether ready
[debug] [RemoteDebugger] Received applicationSentData response
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:10759","WIRListingKey":{"1":{"WIRTitleKey":"ADFLOE","WIRTypeKey":"WIRTypeWeb","WIRURLKey":"http://localhost:3000/","WIRPageIdentifierKey":1,"WIRConnectionIdentifierKey":"ec5279f2-94b2-4f5b-a9be-73d999e61ecc"}}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received page change notice for app 'PID:10759' but listening for 'PID:10757'. Ignoring.
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:10759","WIRListingKey":{"1":{"WIRTitleKey":"ADFLOE","WIRTypeKey":"WIRTypeWeb","WIRURLKey":"http://localhost:3000/","WIRPageIdentifierKey":1,"WIRConnectionIdentifierKey":"ec5279f2-94b2-4f5b-a9be-73d999e61ecc"}}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Page changed: {"1":{"WIRTitleKey":"ADFLOE","WIRTypeKey":"WIRTypeWeb","WIRURLKey":"http://localhost:3000/","WIRPageIdentifierKey":1,"WIRConnectionIdentifierKey":"ec5279f2-94b2-4f5b-a9be-73d999e61ecc"}}
[debug] [iOS] Remote debugger notified us of a new page listing: {"appIdKey":"10759","pageArray":[{"id":1,"title":"ADFLOE","url":"http://localhost:3000/","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 document.readyState; })()
[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://login:pass@localhost:3000/' to 'http://localhost:3000/'
[debug] [RemoteDebugger] Checking document readyState
[debug] [RemoteDebugger] Sending javascript command (function (){ return document.readyState; })()
[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] [RemoteDebugger] Waiting for frame navigated message...
[debug] [RemoteDebugger] Checking document readyState
[debug] [RemoteDebugger] Sending javascript command (function (){ return document.readyState; })()
[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] Frame navigated in 0.501 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 document.readyState; })()
[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] [MJSONWP] Responding to client with driver.setUrl() result: null
[HTTP] <-- POST /wd/hub/session/3f7faa80-9d9a-4129-9d4f-f99518671dbf/url 200 2015 ms - 76
[HTTP] --> GET /wd/hub/session/3f7faa80-9d9a-4129-9d4f-f99518671dbf/window_handle {}
[debug] [MJSONWP] Calling AppiumDriver.getWindowHandle() with args: ["3f7faa80-9d9a-4129-9d4f-f99518671dbf"]
[debug] [XCUITest] Executing command 'getWindowHandle'
[debug] [MJSONWP] Responding to client with driver.getWindowHandle() result: "10759.1"
[HTTP] <-- GET /wd/hub/session/3f7faa80-9d9a-4129-9d4f-f99518671dbf/window_handle 200 1 ms - 81
[HTTP] --> GET /wd/hub/session/3f7faa80-9d9a-4129-9d4f-f99518671dbf/window_handle {}
[debug] [MJSONWP] Calling AppiumDriver.getWindowHandle() with args: ["3f7faa80-9d9a-4129-9d4f-f99518671dbf"]
[debug] [XCUITest] Executing command 'getWindowHandle'
[debug] [MJSONWP] Responding to client with driver.getWindowHandle() result: "10759.1"
[HTTP] <-- GET /wd/hub/session/3f7faa80-9d9a-4129-9d4f-f99518671dbf/window_handle 200 1 ms - 81
[HTTP] --> POST /wd/hub/session/3f7faa80-9d9a-4129-9d4f-f99518671dbf/window/current/maximize {"{}":""}
[debug] [MJSONWP] Calling AppiumDriver.maximizeWindow() with args: ["current","3f7faa80-9d9a-4129-9d4f-f99518671dbf"]
[debug] [XCUITest] Executing command 'maximizeWindow'
[HTTP] <-- POST /wd/hub/session/3f7faa80-9d9a-4129-9d4f-f99518671dbf/window/current/maximize 501 1 ms - 122
[HTTP] --> GET /wd/hub/session/3f7faa80-9d9a-4129-9d4f-f99518671dbf/url {}
[debug] [MJSONWP] Calling AppiumDriver.getUrl() with args: ["3f7faa80-9d9a-4129-9d4f-f99518671dbf"]
[debug] [XCUITest] Executing command 'getUrl'
[debug] [RemoteDebugger] Sending javascript command window.location.href
[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: 'http://localhost:3000/#/'
[debug] [RemoteDebugger] Original command: sendJSCommand
[debug] [MJSONWP] Responding to client with driver.getUrl() result: "http://localhost:3000/#/"
[HTTP] <-- GET /wd/hub/session/3f7faa80-9d9a-4129-9d4f-f99518671dbf/url 200 3 ms - 98
[HTTP] --> GET /wd/hub/session/3f7faa80-9d9a-4129-9d4f-f99518671dbf/source {}
[debug] [MJSONWP] Calling AppiumDriver.getPageSource() with args: ["3f7faa80-9d9a-4129-9d4f-f99518671dbf"]
[debug] [XCUITest] Executing command 'getPageSource'
[debug] [RemoteDebugger] Sending javascript command document.getElementsByTagName("html")[0].outerHTML
[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: '<html><head>
    <meta charset="UTF-8">
    <me...'
[debug] [RemoteDebugger] Original command: sendJSCommand
[debug] [MJSONWP] Responding to client with driver.getPageSource() result: "<html><head>\n    <meta charset=\"UTF-8\">\n    <meta http-equiv=\"Content-Language\" content=\"en\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n    <title>ADFLOE</title>\n\n    <link rel=\"preload\" href=\"index.css\" as=\"style\">\n    <link rel=\"preload\" href=\"vendor.js\" as=\"script\">\n    <link rel=\"preload\" href=\"index.js\" as=\"script\">\n\n    \n\n    <link href=\"index.css\" rel=\"stylesheet\">\n    <link rel=\"shortcut icon\" href=\"favicon.ico\">\n<style type=\"text/css\" data-styled-components=\"jvxWrp dFDSzq fbXxcK dOaZWH TKEDq kQopKG dVijga\" data-styled-components-is-local=\"true\">\n/* sc-component-id: ContentWrapper-bvWSlK */\n.ContentWrapper-bvWSlK {}\n.fbXxcK{height:100vh;}\n.dOaZWH{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-i...
[HTTP] <-- GET /wd/hub/session/3f7faa80-9d9a-4129-9d4f-f99518671dbf/source 200 12 ms - 39322
[HTTP] --> DELETE /wd/hub/session/3f7faa80-9d9a-4129-9d4f-f99518671dbf/cookie {}
[debug] [MJSONWP] Calling AppiumDriver.deleteCookies() with args: ["3f7faa80-9d9a-4129-9d4f-f99518671dbf"]
[debug] [XCUITest] Executing command 'deleteCookies'
[debug] [iOS] Retrieving all cookies
[debug] [RemoteDebugger] Executing 'execute_script' atom in default context
[debug] [RemoteDebugger] Sending javascript command (function(){return function(){var e=this;
funct...
[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":""}'
[debug] [RemoteDebugger] Original command: sendJSCommand
[debug] [RemoteDebugger] Received result for atom 'execute_script' execution: ""
[debug] [MJSONWP] Responding to client with driver.deleteCookies() result: true
[HTTP] <-- DELETE /wd/hub/session/3f7faa80-9d9a-4129-9d4f-f99518671dbf/cookie 200 6 ms - 76
[HTTP] --> POST /wd/hub/session/3f7faa80-9d9a-4129-9d4f-f99518671dbf/url {"url":"about:blank"}
[debug] [MJSONWP] Calling AppiumDriver.setUrl() with args: ["about:blank","3f7faa80-9d9a-4129-9d4f-f99518671dbf"]
[debug] [XCUITest] Executing command 'setUrl'
[debug] [iOS] Attempting to set url 'about:blank'
[debug] [RemoteDebugger] Navigating to new URL: about:blank
[debug] [RemoteDebugger] Sending '_rpc_forwardSocketData:' message to remote debugger
[debug] [RemoteDebugger] Received applicationSentData response
[debug] [RemoteDebugger] Received applicationSentData response
[debug] [RemoteDebugger] Frame navigated, unloading page
[debug] [RemoteDebugger] Frame navigated in 1.08 sec from source: remote-debugger
[debug] [RemoteDebugger] Received applicationSentData response
[debug] [RemoteDebugger] Page loaded, verifying whether ready
[debug] [RemoteDebugger] Received applicationSentData response
[debug] [RemoteDebugger] Received applicationSentData response
[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] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:10759","WIRListingKey":{"1":{"WIRTitleKey":"","WIRTypeKey":"WIRTypeWeb","WIRURLKey":"about:blank","WIRPageIdentifierKey":1,"WIRConnectionIdentifierKey":"ec5279f2-94b2-4f5b-a9be-73d999e61ecc"}}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Page changed: {"1":{"WIRTitleKey":"","WIRTypeKey":"WIRTypeWeb","WIRURLKey":"about:blank","WIRPageIdentifierKey":1,"WIRConnectionIdentifierKey":"ec5279f2-94b2-4f5b-a9be-73d999e61ecc"}}
[debug] [iOS] Remote debugger notified us of a new page listing: {"appIdKey":"10759","pageArray":[{"id":1,"title":"","url":"about:blank","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":{"WIRApplicationIdentifierKey":"PID:10759","WIRListingKey":{"1":{"WIRTitleKey":"","WIRTypeKey":"WIRTypeWeb","WIRURLKey":"about:blank","WIRPageIdentifierKey":1,"WIRConnectionIdentifierKey":"ec5279f2-94b2-4f5b-a9be-73d999e61ecc"}}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received page change notice for app 'PID:10759' but listening for 'PID:10757'. Ignoring.
[debug] [RemoteDebugger] Checking document readyState
[debug] [RemoteDebugger] Sending javascript command (function (){ return document.readyState; })()
[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] [RemoteDebugger] Checking document readyState
[debug] [RemoteDebugger] Sending javascript command (function (){ return document.readyState; })()
[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.501 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 document.readyState; })()
[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] [MJSONWP] Responding to client with driver.setUrl() result: null
[HTTP] <-- POST /wd/hub/session/3f7faa80-9d9a-4129-9d4f-f99518671dbf/url 200 2023 ms - 76
[HTTP] --> POST /wd/hub/session/3f7faa80-9d9a-4129-9d4f-f99518671dbf/elements {"using":"xpath","value":"/html/body/*"}
[debug] [MJSONWP] Calling AppiumDriver.findElements() with args: ["xpath","/html/body/*","3f7faa80-9d9a-4129-9d4f-f99518671dbf"]
[debug] [XCUITest] Executing command 'findElements'
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [RemoteDebugger] Executing 'find_elements' atom in default context
[debug] [RemoteDebugger] Sending javascript command (function(){return function(){var k=this;functi...
[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":[]}'
[debug] [RemoteDebugger] Original command: sendJSCommand
[debug] [RemoteDebugger] Received result for atom 'find_elements' execution: []
[debug] [MJSONWP] Responding to client with driver.findElements() result: []
[HTTP] <-- POST /wd/hub/session/3f7faa80-9d9a-4129-9d4f-f99518671dbf/elements 200 10 ms - 74
[HTTP] --> DELETE /wd/hub/session/3f7faa80-9d9a-4129-9d4f-f99518671dbf {}
[debug] [MJSONWP] Calling AppiumDriver.deleteSession() with args: ["3f7faa80-9d9a-4129-9d4f-f99518671dbf"]
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1518154602752 (11:06:42 GMT+0530 (IST))
[Appium] Removing session 3f7faa80-9d9a-4129-9d4f-f99518671dbf from our master session list
[debug] [JSONWP Proxy] Proxying [DELETE /session/3f7faa80-9d9a-4129-9d4f-f99518671dbf] to [DELETE http://localhost:8100/session/92B24E73-DF8B-4251-9CFE-4FE309025C70] with no body
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":2,"WIRIsApplicationReadyKey":true,"WIRApplicationIdentifierKey":"PID:10757","WIRIsApplicationProxyKey":false,"WIRApplicationNameKey":"Safari","WIRApplicationBundleIdentifierKey":"com.apple.mobilesafari"},"__selector":"_rpc_applicationDisconnected:"}'
[debug] [RemoteDebugger] Application 'PID:10757' disconnected. Removing from app dictionary.
[debug] [RemoteDebugger] Current app is PID:10757
[debug] [RemoteDebugger] No longer have app id. Attempting to find new one.
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":1,"WIRIsApplicationReadyKey":true,"WIRApplicationIdentifierKey":"PID:10759","WIRIsApplicationProxyKey":true,"WIRApplicationNameKey":"com.apple.WebKit.WebContent","WIRApplicationBundleIdentifierKey":"com.apple.WebKit.WebContent","WIRHostApplicationIdentifierKey":"PID:10757"},"__selector":"_rpc_applicationDisconnected:"}'
[debug] [RemoteDebugger] Application 'PID:10759' disconnected. Removing from app dictionary.
[debug] [RemoteDebugger] Current app is undefined
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":2,"WIRIsApplicationReadyKey":true,"WIRApplicationIdentifierKey":"PID:10757","WIRIsApplicationProxyKey":false,"WIRApplicationNameKey":"Safari","WIRApplicationBundleIdentifierKey":"com.apple.mobilesafari"},"__selector":"_rpc_applicationDisconnected:"}'
[debug] [RemoteDebugger] Application 'PID:10757' disconnected. Removing from app dictionary.
[debug] [RemoteDebugger] Current app is PID:10759
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":1,"WIRIsApplicationReadyKey":true,"WIRApplicationIdentifierKey":"PID:10759","WIRIsApplicationProxyKey":true,"WIRApplicationNameKey":"com.apple.WebKit.WebContent","WIRApplicationBundleIdentifierKey":"com.apple.WebKit.WebContent","WIRHostApplicationIdentifierKey":"PID:10757"},"__selector":"_rpc_applicationDisconnected:"}'
[debug] [RemoteDebugger] Application 'PID:10759' disconnected. Removing from app dictionary.
[debug] [RemoteDebugger] Current app is PID:10759
[debug] [RemoteDebugger] No longer have app id. Attempting to find new one.
[debug] [JSONWP Proxy] Got response with status 200: "{\n  \"value\" : {\n\n  },\n  \"sessionId\" : \"0865B497-4443-45FD-BF5B-E325D4B6F8C8\",\n  \"status\" : 0\n}"
[XCUITest] Setting '755' permissions to '/Users/arpitsingh/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/Attachments' folder
[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[debug] [XCUITest] In a web session. Removing remote debugger
[debug] [RemoteDebugger] Disconnecting from remote debugger
[debug] [RemoteDebugger] Cleaning up listeners
[debug] [iOSLog] Stopping iOS log capture
[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1518154602973 (11:06:42 GMT+0530 (IST))
[debug] [MJSONWP] Received response: null
[debug] [MJSONWP] But deleting session, so not returning
[debug] [MJSONWP] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/3f7faa80-9d9a-4129-9d4f-f99518671dbf 200 222 ms - 76

arpitsinghmrt avatar Feb 09 '18 05:02 arpitsinghmrt

Hi @romikoops is there any updates on this?

arpitsinghmrt avatar Feb 14 '18 05:02 arpitsinghmrt

is there any update on the new release with appium support in Howitzer?

jain0nikhil avatar Jul 15 '18 02:07 jain0nikhil

Appium is not supported anymore. I will close the issue

romikoops avatar Feb 09 '23 17:02 romikoops