[info] [Appium] Welcome to Appium v1.21.0 [info] [Appium] Non-default server args: [info] [Appium] relaxedSecurityEnabled: true [info] [Appium] allowInsecure: { [info] [Appium] } [info] [Appium] denyInsecure: { [info] [Appium] } [info] [Appium] Appium REST http interface listener started on 0.0.0.0:4723[info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"desiredCapabilities":{"app":"/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa","includeSafariInWebviews":true,"clearSystemFiles":true,"platformVersion":"14.6","automationName":"XCUITest","language":"en","locale":"US","platformName":"IOS","udid":"00008020-001D70A81428003A","deviceName":"sureadminIOS"},"capabilities":{"firstMatch":[{"appium:app":"/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa","appium:automationName":"XCUITest","appium:clearSystemFiles":true,"appium:deviceName":"sureadminIOS","includeSafariInWebviews":true,"appium:language":"en","appium:locale":"US","platformName":"ios","appium:platformVersion":"14.6","appium:udid":"00008020-001D70A81428003A"}]}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa","includeSafariInWebviews":true,"clearSystemFiles":true,"platformVersion":"14.6","automationName":"XCUITest","language":"en","locale":"US","platformName":"IOS","udid":"00008020-001D70A81428003A","deviceName":"sureadminIOS"},null,{"firstMatch":[{"appium:app":"/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa","appium:automationName":"XCUITest","appium:clearSystemFiles":true,"appium:deviceName":"sureadminIOS","includeSafariInWebviews":true,"appium:language":"en","appium:locale":"US","platformName":"ios","appium:platformVersion":"14.6","appium:udid":"00008020-001D70A81428003A"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1632917752950 (07:15:52 GMT-0500 (Central Daylight Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] includeSafariInWebviews [info] [Appium] Appium v1.21.0 creating new XCUITestDriver (v3.43.0) session [info] [Appium] Applying relaxed security to 'XCUITestDriver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "appium:includeSafariInWebviews": true, [debug] [BaseDriver] "platformName": "ios", [debug] [BaseDriver] "appium:app": "/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa", [debug] [BaseDriver] "appium:automationName": "XCUITest", [debug] [BaseDriver] "appium:clearSystemFiles": true, [debug] [BaseDriver] "appium:deviceName": "sureadminIOS", [debug] [BaseDriver] "appium:language": "en", [debug] [BaseDriver] "appium:locale": "US", [debug] [BaseDriver] "appium:platformVersion": "14.6", [debug] [BaseDriver] "appium:udid": "00008020-001D70A81428003A" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [info] [BaseDriver] Session created with session id: 379063e0-bb14-4479-a1d1-3156d717b5b4[debug] [XCUITest] Available devices: 00008020-001D70A81428003A [debug] [XCUITest] Creating iDevice object with udid '00008020-001D70A81428003A' [info] [XCUITest] Determining device to run tests on: udid: '00008020-001D70A81428003A', real device: true [debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1632917753986 (07:15:53 GMT-0500 (Central Daylight Time)) [info] [BaseDriver] Using local app '/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa' [debug] [BaseDriver] Unzipping '/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa' [debug] [BaseDriver] Enforcing UTF-8 encoding on the extracted file names for 'HP.Phone.BEAM.iOS-5.ipa'[debug] [BaseDriver] Extracted 277 items from '/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa' in 1111ms [debug] [BaseDriver] Matched 1 item in the extracted archive. Assuming 'Payload/HP.Phone.BEAM.iOS.app' is the correct bundle [info] [BaseDriver] Unzipped local app to '/var/folders/h9/w5rz4m1j6dx2474ff7n4ftq40000gn/T/2021829-2298-uos4nn.6bf58/HP.Phone.BEAM.iOS.app' [debug] [BaseDriver] Event 'appConfigured' logged at 1632917755218 (07:15:55 GMT-0500 (Central Daylight Time)) [debug] [XCUITest] Checking whether app '/var/folders/h9/w5rz4m1j6dx2474ff7n4ftq40000gn/T/2021829-2298-uos4nn.6bf58/HP.Phone.BEAM.iOS.app' is actually present on file system [debug] [XCUITest] App is present [debug] [iOS] Getting bundle ID from app '/var/folders/h9/w5rz4m1j6dx2474ff7n4ftq40000gn/T/2021829-2298-uos4nn.6bf58/HP.Phone.BEAM.iOS.app': 'com.hp.beam-release' [debug] [BaseDriver] Event 'resetStarted' logged at 1632917755221 (07:15:55 GMT-0500 (Central Daylight Time)) [debug] [XCUITest] Reset: running ios real device reset flow [debug] [BaseDriver] Event 'resetComplete' logged at 1632917755221 (07:15:55 GMT-0500 (Central Daylight Time)) [info] [WebDriverAgent] Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent' [info] [WebDriverAgent] Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'[debug] [XCUITest] Crash reports root '/Users/admin/Library/Logs/CrashReporter/MobileDevice/sureadminIOS' does not exist. Got nothing to gather. [debug] [BaseDriver] Event 'logCaptureStarted' logged at 1632917755474 (07:15:55 GMT-0500 (Central Daylight Time)) [info] [XCUITest] Setting up real device [debug] [XCUITest] Verifying application platform [debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"] [debug] [XCUITest] Reset requested. Removing app with id 'com.hp.beam-release' from the device[debug] [XCUITest] Installing '/var/folders/h9/w5rz4m1j6dx2474ff7n4ftq40000gn/T/2021829-2298-uos4nn.6bf58/HP.Phone.BEAM.iOS.app' on device with UUID '00008020-001D70A81428003A'...[debug] [WebDriverAgent] Parsed BUILD_DIR configuration value: '/Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Build/Products' [debug] [WebDriverAgent] Got derived data root: '/Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp'[debug] [Support] Traversed 49 directories and 227 files in 9336ms [debug] [XCUITest] Pushed the app files successfully after 9459ms[info] [XCUITest] App installation succeeded after 10285ms [debug] [XCUITest] The app has been installed successfully. [debug] [BaseDriver] Event 'appInstalled' logged at 1632917766204 (07:16:06 GMT-0500 (Central Daylight Time)) [debug] [WebDriverAgent] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found [info] [DevCon Factory] Requesting connection for device 00008020-001D70A81428003A on local port 8100, device port 8100 [debug] [DevCon Factory] Cached connections count: 0 [info] [DevCon Factory] Successfully requested the connection for 00008020-001D70A81428003A:8100 [debug] [XCUITest] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver' [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [debug] [WD Proxy] Got response with status 200: {"value":{"message":"WebDriverAgent is ready to accept commands","state":"success","os":{"testmanagerdVersion":28,"name":"iOS","sdkVersion":"15.0","version":"14.6"},"ios":{"ip":"192.168.1.234"},"ready":true,"build":{"upgradedAt":"1620631774000","time":"Sep 29 2021 06:29:34","productBundleIdentifier":"com.facebook.WebDriverAgentRunner"}},"sessionId":null} [debug] [WebDriverAgent] Upgrade timestamp of the currently bundled WDA: 1620631774000 [debug] [WebDriverAgent] Upgrade timestamp of the WDA on the device: 1620631774000 [info] [WebDriverAgent] Will reuse previously cached WDA instance at 'http://127.0.0.1:8100/' with 'com.facebook.WebDriverAgentRunner'. Set the wdaLocalPort capability to a value different from 8100 if this is an undesired behavior. [debug] [XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval [debug] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities [debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1632917766312 (07:16:06 GMT-0500 (Central Daylight Time)) [info] [WebDriverAgent] Using provided WebdriverAgent at 'http://127.0.0.1:8100/' [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [debug] [WD Proxy] Got response with status 200: {"value":{"message":"WebDriverAgent is ready to accept commands","state":"success","os":{"testmanagerdVersion":28,"name":"iOS","sdkVersion":"15.0","version":"14.6"},"ios":{"ip":"192.168.1.234"},"ready":true,"build":{"upgradedAt":"1620631774000","time":"Sep 29 2021 06:29:34","productBundleIdentifier":"com.facebook.WebDriverAgentRunner"}},"sessionId":null} [debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1632917766327 (07:16:06 GMT-0500 (Central Daylight Time)) [debug] [XCUITest] Sending createSession command to WDA [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.hp.beam-release","arguments":["-AppleLanguages","(en)","-NSLanguages","(en)","-AppleLocale","US"],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true}],"alwaysMatch":{}}}[debug] [WD Proxy] Got response with status 200: {"value":{"sessionId":"629F1AB9-4023-474E-8750-A5165B9AD01F","capabilities":{"device":"iphone","browserName":"HP Sure Admin","sdkVersion":"14.6","CFBundleIdentifier":"com.hp.beam-release"}},"sessionId":"629F1AB9-4023-474E-8750-A5165B9AD01F"} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1632917768215 (07:16:08 GMT-0500 (Central Daylight Time)) [debug] [BaseDriver] Event 'wdaStarted' logged at 1632917768215 (07:16:08 GMT-0500 (Central Daylight Time)) [info] [XCUITest] Skipping setting of the initial display orientation. Set the "orientation" capability to either "LANDSCAPE" or "PORTRAIT", if this is an undesired behavior. [debug] [BaseDriver] Event 'orientationSet' logged at 1632917768215 (07:16:08 GMT-0500 (Central Daylight Time)) [debug] [BaseDriver] The value of 'elementResponseAttributes' setting did not change. Skipping the update for it [debug] [BaseDriver] The value of 'shouldUseCompactResponses' setting did not change. Skipping the update for it [info] [Appium] New XCUITestDriver session created successfully, session 379063e0-bb14-4479-a1d1-3156d717b5b4 added to master session list [debug] [BaseDriver] Event 'newSessionStarted' logged at 1632917768217 (07:16:08 GMT-0500 (Central Daylight Time)) [debug] [W3C (379063e0)] Cached the protocol value 'W3C' for the new session 379063e0-bb14-4479-a1d1-3156d717b5b4 [debug] [W3C (379063e0)] Responding to client with driver.createSession() result: {"capabilities":{"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"platformName":"ios","includeSafariInWebviews":true,"app":"/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa","automationName":"XCUITest","clearSystemFiles":true,"deviceName":"sureadminIOS","language":"en","locale":"US","platformVersion":"14.6","udid":"00008020-001D70A81428003A"}} [info] [HTTP] <-- POST /wd/hub/session 200 15271 ms - 591 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/379063e0-bb14-4479-a1d1-3156d717b5b4/element [info] [HTTP] {"using":"accessibility id","value":"View My Keys"} [debug] [W3C (379063e0)] Calling AppiumDriver.findElement() with args: ["accessibility id","View My Keys","379063e0-bb14-4479-a1d1-3156d717b5b4"] [debug] [XCUITest] Executing command 'findElement' [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id, css selector [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8100/session/629F1AB9-4023-474E-8750-A5165B9AD01F/element] with body: {"using":"accessibility id","value":"View My Keys"}[debug] [WD Proxy] Got response with status 200: {"value":{"ELEMENT":"29000000-0000-0000-5302-000000000000","element-6066-11e4-a52e-4f735466cecf":"29000000-0000-0000-5302-000000000000"},"sessionId":"629F1AB9-4023-474E-8750-A5165B9AD01F"} [debug] [W3C (379063e0)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"29000000-0000-0000-5302-000000000000","ELEMENT":"29000000-0000-0000-5302-000000000000"} [info] [HTTP] <-- POST /wd/hub/session/379063e0-bb14-4479-a1d1-3156d717b5b4/element 200 191 ms - 137 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/379063e0-bb14-4479-a1d1-3156d717b5b4/element/29000000-0000-0000-5302-000000000000/click [info] [HTTP] {"id":"29000000-0000-0000-5302-000000000000"} [info] [W3C (379063e0)] Driver proxy active, passing request on via HTTP proxy [debug] [XCUITest] Executing command 'proxyReqRes' [debug] [WD Proxy] Matched '/wd/hub/session/379063e0-bb14-4479-a1d1-3156d717b5b4/element/29000000-0000-0000-5302-000000000000/click' to command name 'click' [debug] [WD Proxy] Proxying [POST /wd/hub/session/379063e0-bb14-4479-a1d1-3156d717b5b4/element/29000000-0000-0000-5302-000000000000/click] to [POST http://127.0.0.1:8100/session/629F1AB9-4023-474E-8750-A5165B9AD01F/element/29000000-0000-0000-5302-000000000000/click] with body: {"id":"29000000-0000-0000-5302-000000000000"}[debug] [WD Proxy] Got response with status 200: {"value":null,"sessionId":"629F1AB9-4023-474E-8750-A5165B9AD01F"} [info] [WD Proxy] Replacing sessionId 629F1AB9-4023-474E-8750-A5165B9AD01F with 379063e0-bb14-4479-a1d1-3156d717b5b4 [info] [HTTP] <-- POST /wd/hub/session/379063e0-bb14-4479-a1d1-3156d717b5b4/element/29000000-0000-0000-5302-000000000000/click 200 388 ms - 65 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/379063e0-bb14-4479-a1d1-3156d717b5b4/timeouts [info] [HTTP] {"implicit":2000} [debug] [W3C (379063e0)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,2000,"379063e0-bb14-4479-a1d1-3156d717b5b4"] [debug] [XCUITest] Executing command 'timeouts' [debug] [BaseDriver] W3C timeout argument: {"implicit":2000}} [debug] [BaseDriver] Set implicit wait to 2000ms [debug] [W3C (379063e0)] Responding to client with driver.timeouts() result: null [info] [HTTP] <-- POST /wd/hub/session/379063e0-bb14-4479-a1d1-3156d717b5b4/timeouts 200 2 ms - 14 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/379063e0-bb14-4479-a1d1-3156d717b5b4/elements [info] [HTTP] {"using":"class name","value":"XCUIElementTypeCell"} [debug] [W3C (379063e0)] Calling AppiumDriver.findElements() with args: ["class name","XCUIElementTypeCell","379063e0-bb14-4479-a1d1-3156d717b5b4"] [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, css selector [debug] [BaseDriver] Waiting up to 2000 ms for condition [debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8100/session/629F1AB9-4023-474E-8750-A5165B9AD01F/elements] with body: {"using":"class name","value":"XCUIElementTypeCell"}[debug] [WD Proxy] Got response with status 200: {"value":[],"sessionId":"629F1AB9-4023-474E-8750-A5165B9AD01F"} [debug] [BaseDriver] Waited for 87 ms so far[debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8100/session/629F1AB9-4023-474E-8750-A5165B9AD01F/elements] with body: {"using":"class name","value":"XCUIElementTypeCell"} [debug] [WD Proxy] Got response with status 200: {"value":[],"sessionId":"629F1AB9-4023-474E-8750-A5165B9AD01F"} [debug] [BaseDriver] Waited for 678 ms so far[debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8100/session/629F1AB9-4023-474E-8750-A5165B9AD01F/elements] with body: {"using":"class name","value":"XCUIElementTypeCell"} [debug] [WD Proxy] Got response with status 200: {"value":[],"sessionId":"629F1AB9-4023-474E-8750-A5165B9AD01F"} [debug] [BaseDriver] Waited for 1258 ms so far[debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8100/session/629F1AB9-4023-474E-8750-A5165B9AD01F/elements] with body: {"using":"class name","value":"XCUIElementTypeCell"}[debug] [WD Proxy] Got response with status 200: {"value":[],"sessionId":"629F1AB9-4023-474E-8750-A5165B9AD01F"} [debug] [BaseDriver] Waited for 1835 ms so far[debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8100/session/629F1AB9-4023-474E-8750-A5165B9AD01F/elements] with body: {"using":"class name","value":"XCUIElementTypeCell"} [debug] [WD Proxy] Got response with status 200: {"value":[],"sessionId":"629F1AB9-4023-474E-8750-A5165B9AD01F"} [debug] [W3C (379063e0)] Responding to client with driver.findElements() result: [] [info] [HTTP] <-- POST /wd/hub/session/379063e0-bb14-4479-a1d1-3156d717b5b4/elements 200 2415 ms - 12 [info] [HTTP] [info] [HTTP] --> DELETE /wd/hub/session/379063e0-bb14-4479-a1d1-3156d717b5b4 [info] [HTTP] {} [debug] [W3C (379063e0)] Calling AppiumDriver.deleteSession() with args: ["379063e0-bb14-4479-a1d1-3156d717b5b4"] [debug] [BaseDriver] Event 'quitSessionRequested' logged at 1632917773314 (07:16:13 GMT-0500 (Central Daylight Time)) [info] [Appium] Removing session 379063e0-bb14-4479-a1d1-3156d717b5b4 from our master session list [debug] [WD Proxy] Matched '/session/379063e0-bb14-4479-a1d1-3156d717b5b4' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /session/379063e0-bb14-4479-a1d1-3156d717b5b4] to [DELETE http://127.0.0.1:8100/session/629F1AB9-4023-474E-8750-A5165B9AD01F] with no body[debug] [WD Proxy] Got response with status 200: {"value":null,"sessionId":null} [info] [DevCon Factory] Releasing connections for 00008020-001D70A81428003A device on any port number [info] [DevCon Factory] Found cached connections to release: ["00008020-001D70A81428003A:8100"] [info] [DevCon Factory] Releasing the listener for '00008020-001D70A81428003A:8100' [debug] [iProxy@00008020:8100] Closing the connection [debug] [DevCon Factory] Cached connections count: 0 [debug] [XCUITest] Did not find the temporary XCTest logs root at '/var/folders/h9/w5rz4m1j6dx2474ff7n4ftq40000gn/T/com.apple.dt.XCTest*/' [info] [XCUITest] Cleaning test logs in '/Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs' folder [debug] [iOS] Clearing log files [debug] [iOS] Deleting '/Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs'. Freeing 12K. [debug] [iOS] Finished clearing log files [debug] [BaseDriver] Event 'quitSessionFinished' logged at 1632917774438 (07:16:14 GMT-0500 (Central Daylight Time)) [debug] [W3C (379063e0)] Received response: null [debug] [W3C (379063e0)] But deleting session, so not returning [debug] [W3C (379063e0)] Responding to client with driver.deleteSession() result: null [info] [HTTP] <-- DELETE /wd/hub/session/379063e0-bb14-4479-a1d1-3156d717b5b4 200 1126 ms - 14 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"desiredCapabilities":{"app":"/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa","clearSystemFiles":true,"noReset":true,"bundleId":"com.apple.Preferences","language":"en","locale":"US","deviceName":"sureadminIOS","includeSafariInWebviews":true,"platformVersion":"14.6","automationName":"XCUITest","platformName":"IOS","udid":"00008020-001D70A81428003A"},"capabilities":{"firstMatch":[{"appium:app":"/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa","appium:automationName":"XCUITest","appium:bundleId":"com.apple.Preferences","appium:clearSystemFiles":true,"appium:deviceName":"sureadminIOS","includeSafariInWebviews":true,"appium:language":"en","appium:locale":"US","appium:noReset":true,"platformName":"ios","appium:platformVersion":"14.6","appium:udid":"00008020-001D70A81428003A"}]}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa","clearSystemFiles":true,"noReset":true,"bundleId":"com.apple.Preferences","language":"en","locale":"US","deviceName":"sureadminIOS","includeSafariInWebviews":true,"platformVersion":"14.6","automationName":"XCUITest","platformName":"IOS","udid":"00008020-001D70A81428003A"},null,{"firstMatch":[{"appium:app":"/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa","appium:automationName":"XCUITest","appium:bundleId":"com.apple.Preferences","appium:clearSystemFiles":true,"appium:deviceName":"sureadminIOS","includeSafariInWebviews":true,"appium:language":"en","appium:locale":"US","appium:noReset":true,"platformName":"ios","appium:platformVersion":"14.6","appium:udid":"00008020-001D70A81428003A"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1632917774454 (07:16:14 GMT-0500 (Central Daylight Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] includeSafariInWebviews [info] [Appium] Appium v1.21.0 creating new XCUITestDriver (v3.43.0) session [info] [Appium] Applying relaxed security to 'XCUITestDriver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "appium:includeSafariInWebviews": true, [debug] [BaseDriver] "platformName": "ios", [debug] [BaseDriver] "appium:app": "/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa", [debug] [BaseDriver] "appium:automationName": "XCUITest", [debug] [BaseDriver] "appium:bundleId": "com.apple.Preferences", [debug] [BaseDriver] "appium:clearSystemFiles": true, [debug] [BaseDriver] "appium:deviceName": "sureadminIOS", [debug] [BaseDriver] "appium:language": "en", [debug] [BaseDriver] "appium:locale": "US", [debug] [BaseDriver] "appium:noReset": true, [debug] [BaseDriver] "appium:platformVersion": "14.6", [debug] [BaseDriver] "appium:udid": "00008020-001D70A81428003A" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [info] [BaseDriver] Session created with session id: 71b04d53-4215-45c3-b35a-f21c12fb9d63 [debug] [XCUITest] Current user: 'admin' [debug] [XCUITest] Available devices: 00008020-001D70A81428003A [debug] [XCUITest] Creating iDevice object with udid '00008020-001D70A81428003A' [info] [XCUITest] Determining device to run tests on: udid: '00008020-001D70A81428003A', real device: true [debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1632917774506 (07:16:14 GMT-0500 (Central Daylight Time)) [info] [BaseDriver] Using local app '/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa' [info] [BaseDriver] Will reuse previously cached application at '/var/folders/h9/w5rz4m1j6dx2474ff7n4ftq40000gn/T/2021829-2298-uos4nn.6bf58/HP.Phone.BEAM.iOS.app' [debug] [BaseDriver] Event 'appConfigured' logged at 1632917774584 (07:16:14 GMT-0500 (Central Daylight Time)) [debug] [XCUITest] Checking whether app '/var/folders/h9/w5rz4m1j6dx2474ff7n4ftq40000gn/T/2021829-2298-uos4nn.6bf58/HP.Phone.BEAM.iOS.app' is actually present on file system [debug] [XCUITest] App is present [debug] [BaseDriver] Event 'resetStarted' logged at 1632917774584 (07:16:14 GMT-0500 (Central Daylight Time)) [debug] [XCUITest] Reset: fullReset not set. Leaving as is [debug] [BaseDriver] Event 'resetComplete' logged at 1632917774585 (07:16:14 GMT-0500 (Central Daylight Time)) [info] [WebDriverAgent] Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent' [info] [WebDriverAgent] Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'[debug] [XCUITest] Crash reports root '/Users/admin/Library/Logs/CrashReporter/MobileDevice/sureadminIOS' does not exist. Got nothing to gather. [debug] [BaseDriver] Event 'logCaptureStarted' logged at 1632917774774 (07:16:14 GMT-0500 (Central Daylight Time)) [info] [XCUITest] Setting up real device [debug] [XCUITest] Verifying application platform [debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"][debug] [XCUITest] App 'com.apple.Preferences' is already installed. No need to reinstall. [debug] [BaseDriver] Event 'appInstalled' logged at 1632917774945 (07:16:14 GMT-0500 (Central Daylight Time)) [debug] [WebDriverAgent] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found [info] [DevCon Factory] Requesting connection for device 00008020-001D70A81428003A on local port 8100, device port 8100 [debug] [DevCon Factory] Cached connections count: 0 [info] [DevCon Factory] Successfully requested the connection for 00008020-001D70A81428003A:8100 [debug] [XCUITest] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver' [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [debug] [WD Proxy] Got response with status 200: {"value":{"message":"WebDriverAgent is ready to accept commands","state":"success","os":{"testmanagerdVersion":28,"name":"iOS","sdkVersion":"15.0","version":"14.6"},"ios":{"ip":"192.168.1.234"},"ready":true,"build":{"upgradedAt":"1620631774000","time":"Sep 29 2021 06:29:34","productBundleIdentifier":"com.facebook.WebDriverAgentRunner"}},"sessionId":null} [debug] [WebDriverAgent] Upgrade timestamp of the currently bundled WDA: 1620631774000 [debug] [WebDriverAgent] Upgrade timestamp of the WDA on the device: 1620631774000 [info] [WebDriverAgent] Will reuse previously cached WDA instance at 'http://127.0.0.1:8100/' with 'com.facebook.WebDriverAgentRunner'. Set the wdaLocalPort capability to a value different from 8100 if this is an undesired behavior. [debug] [XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval [debug] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities [debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1632917775027 (07:16:15 GMT-0500 (Central Daylight Time)) [info] [WebDriverAgent] Using provided WebdriverAgent at 'http://127.0.0.1:8100/' [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [debug] [WD Proxy] Got response with status 200: {"value":{"message":"WebDriverAgent is ready to accept commands","state":"success","os":{"testmanagerdVersion":28,"name":"iOS","sdkVersion":"15.0","version":"14.6"},"ios":{"ip":"192.168.1.234"},"ready":true,"build":{"upgradedAt":"1620631774000","time":"Sep 29 2021 06:29:34","productBundleIdentifier":"com.facebook.WebDriverAgentRunner"}},"sessionId":null} [debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1632917775041 (07:16:15 GMT-0500 (Central Daylight Time)) [debug] [XCUITest] Sending createSession command to WDA [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.apple.Preferences","arguments":["-AppleLanguages","(en)","-NSLanguages","(en)","-AppleLocale","US"],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true}],"alwaysMatch":{}}}[debug] [WD Proxy] Got response with status 200: {"value":{"sessionId":"19917069-2FD7-46F6-88B3-0FBE66C9706E","capabilities":{"device":"iphone","browserName":"Settings","sdkVersion":"14.6","CFBundleIdentifier":"com.apple.Preferences"}},"sessionId":"19917069-2FD7-46F6-88B3-0FBE66C9706E"} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1632917776494 (07:16:16 GMT-0500 (Central Daylight Time)) [debug] [WebDriverAgent] Parsed BUILD_DIR configuration value: '/Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Build/Products' [debug] [WebDriverAgent] Got derived data root: '/Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp' [debug] [BaseDriver] Event 'wdaStarted' logged at 1632917776572 (07:16:16 GMT-0500 (Central Daylight Time)) [info] [XCUITest] Skipping setting of the initial display orientation. Set the "orientation" capability to either "LANDSCAPE" or "PORTRAIT", if this is an undesired behavior. [debug] [BaseDriver] Event 'orientationSet' logged at 1632917776572 (07:16:16 GMT-0500 (Central Daylight Time)) [debug] [BaseDriver] The value of 'elementResponseAttributes' setting did not change. Skipping the update for it [debug] [BaseDriver] The value of 'shouldUseCompactResponses' setting did not change. Skipping the update for it [info] [Appium] New XCUITestDriver session created successfully, session 71b04d53-4215-45c3-b35a-f21c12fb9d63 added to master session list [debug] [BaseDriver] Event 'newSessionStarted' logged at 1632917776573 (07:16:16 GMT-0500 (Central Daylight Time)) [debug] [W3C (71b04d53)] Cached the protocol value 'W3C' for the new session 71b04d53-4215-45c3-b35a-f21c12fb9d63 [debug] [W3C (71b04d53)] Responding to client with driver.createSession() result: {"capabilities":{"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"platformName":"ios","includeSafariInWebviews":true,"app":"/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa","automationName":"XCUITest","bundleId":"com.apple.Preferences","clearSystemFiles":true,"deviceName":"sureadminIOS","language":"en","locale":"US","noReset":true,"platformVersion":"14.6","udid":"00008020-001D70A81428003A"}} [info] [HTTP] <-- POST /wd/hub/session 200 2120 ms - 641 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/71b04d53-4215-45c3-b35a-f21c12fb9d63/element [info] [HTTP] {"using":"xpath","value":"//XCUIElementTypeCell[@name='Safari']"} [debug] [W3C (71b04d53)] Calling AppiumDriver.findElement() with args: ["xpath","//XCUIElementTypeCell[@name='Safari']","71b04d53-4215-45c3-b35a-f21c12fb9d63"] [debug] [XCUITest] Executing command 'findElement' [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id, css selector [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8100/session/19917069-2FD7-46F6-88B3-0FBE66C9706E/element] with body: {"using":"xpath","value":"//XCUIElementTypeCell[@name='Safari']"}[debug] [WD Proxy] Got response with status 200: {"value":{"ELEMENT":"64000000-0000-0000-5402-000000000000","element-6066-11e4-a52e-4f735466cecf":"64000000-0000-0000-5402-000000000000"},"sessionId":"19917069-2FD7-46F6-88B3-0FBE66C9706E"} [debug] [W3C (71b04d53)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"64000000-0000-0000-5402-000000000000","ELEMENT":"64000000-0000-0000-5402-000000000000"} [info] [HTTP] <-- POST /wd/hub/session/71b04d53-4215-45c3-b35a-f21c12fb9d63/element 200 3946 ms - 137 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/71b04d53-4215-45c3-b35a-f21c12fb9d63/execute/sync [info] [HTTP] {"script":"mobile: scroll","args":[{"direction":"down","element":"64000000-0000-0000-5402-000000000000"}]} [debug] [W3C (71b04d53)] Calling AppiumDriver.execute() with args: ["mobile: scroll",[{"direction":"down","element":"64000000-0000-0000-5402-000000000000"}],"71b04d53-4215-45c3-b35a-f21c12fb9d63"] [debug] [XCUITest] Executing command 'execute' [info] [XCUITest] Proxying to WDA with an unknown route: POST /wda/element/64000000-0000-0000-5402-000000000000/scroll [debug] [WD Proxy] Proxying [POST /wda/element/64000000-0000-0000-5402-000000000000/scroll] to [POST http://127.0.0.1:8100/session/19917069-2FD7-46F6-88B3-0FBE66C9706E/wda/element/64000000-0000-0000-5402-000000000000/scroll] with body: {"direction":"down"}[debug] [WD Proxy] Got response with status 200: {"value":null,"sessionId":"19917069-2FD7-46F6-88B3-0FBE66C9706E"} [debug] [W3C (71b04d53)] Responding to client with driver.execute() result: null [info] [HTTP] <-- POST /wd/hub/session/71b04d53-4215-45c3-b35a-f21c12fb9d63/execute/sync 200 1102 ms - 14 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/71b04d53-4215-45c3-b35a-f21c12fb9d63/element/64000000-0000-0000-5402-000000000000/click [info] [HTTP] {"id":"64000000-0000-0000-5402-000000000000"} [info] [W3C (71b04d53)] Driver proxy active, passing request on via HTTP proxy [debug] [XCUITest] Executing command 'proxyReqRes' [debug] [WD Proxy] Matched '/wd/hub/session/71b04d53-4215-45c3-b35a-f21c12fb9d63/element/64000000-0000-0000-5402-000000000000/click' to command name 'click' [debug] [WD Proxy] Proxying [POST /wd/hub/session/71b04d53-4215-45c3-b35a-f21c12fb9d63/element/64000000-0000-0000-5402-000000000000/click] to [POST http://127.0.0.1:8100/session/19917069-2FD7-46F6-88B3-0FBE66C9706E/element/64000000-0000-0000-5402-000000000000/click] with body: {"id":"64000000-0000-0000-5402-000000000000"}[debug] [WD Proxy] Got response with status 200: {"value":null,"sessionId":"19917069-2FD7-46F6-88B3-0FBE66C9706E"} [info] [WD Proxy] Replacing sessionId 19917069-2FD7-46F6-88B3-0FBE66C9706E with 71b04d53-4215-45c3-b35a-f21c12fb9d63 [info] [HTTP] <-- POST /wd/hub/session/71b04d53-4215-45c3-b35a-f21c12fb9d63/element/64000000-0000-0000-5402-000000000000/click 200 1079 ms - 65 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/71b04d53-4215-45c3-b35a-f21c12fb9d63/element [info] [HTTP] {"using":"xpath","value":"//XCUIElementTypeStaticText[@name='CLEAR_HISTORY_AND_DATA']"} [debug] [W3C (71b04d53)] Calling AppiumDriver.findElement() with args: ["xpath","//XCUIElementTypeStaticText[@name='CLEAR_HISTORY_AND_DATA']","71b04d53-4215-45c3-b35a-f21c12fb9d63"] [debug] [XCUITest] Executing command 'findElement' [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id, css selector [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8100/session/19917069-2FD7-46F6-88B3-0FBE66C9706E/element] with body: {"using":"xpath","value":"//XCUIElementTypeStaticText[@name='CLEAR_HISTORY_AND_DATA']"}[debug] [WD Proxy] Got response with status 200: {"value":{"ELEMENT":"68020000-0000-0000-5402-000000000000","element-6066-11e4-a52e-4f735466cecf":"68020000-0000-0000-5402-000000000000"},"sessionId":"19917069-2FD7-46F6-88B3-0FBE66C9706E"} [debug] [W3C (71b04d53)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"68020000-0000-0000-5402-000000000000","ELEMENT":"68020000-0000-0000-5402-000000000000"} [info] [HTTP] <-- POST /wd/hub/session/71b04d53-4215-45c3-b35a-f21c12fb9d63/element 200 1738 ms - 137 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/71b04d53-4215-45c3-b35a-f21c12fb9d63/execute/sync [info] [HTTP] {"script":"mobile: scroll","args":[{"direction":"down","element":"68020000-0000-0000-5402-000000000000"}]} [debug] [W3C (71b04d53)] Calling AppiumDriver.execute() with args: ["mobile: scroll",[{"direction":"down","element":"68020000-0000-0000-5402-000000000000"}],"71b04d53-4215-45c3-b35a-f21c12fb9d63"] [debug] [XCUITest] Executing command 'execute' [info] [XCUITest] Proxying to WDA with an unknown route: POST /wda/element/68020000-0000-0000-5402-000000000000/scroll [debug] [WD Proxy] Proxying [POST /wda/element/68020000-0000-0000-5402-000000000000/scroll] to [POST http://127.0.0.1:8100/session/19917069-2FD7-46F6-88B3-0FBE66C9706E/wda/element/68020000-0000-0000-5402-000000000000/scroll] with body: {"direction":"down"}[debug] [WD Proxy] Got response with status 200: {"value":null,"sessionId":"19917069-2FD7-46F6-88B3-0FBE66C9706E"} [debug] [W3C (71b04d53)] Responding to client with driver.execute() result: null [info] [HTTP] <-- POST /wd/hub/session/71b04d53-4215-45c3-b35a-f21c12fb9d63/execute/sync 200 573 ms - 14 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/71b04d53-4215-45c3-b35a-f21c12fb9d63/element/68020000-0000-0000-5402-000000000000/click [info] [HTTP] {"id":"68020000-0000-0000-5402-000000000000"} [info] [W3C (71b04d53)] Driver proxy active, passing request on via HTTP proxy [debug] [XCUITest] Executing command 'proxyReqRes' [debug] [WD Proxy] Matched '/wd/hub/session/71b04d53-4215-45c3-b35a-f21c12fb9d63/element/68020000-0000-0000-5402-000000000000/click' to command name 'click' [debug] [WD Proxy] Proxying [POST /wd/hub/session/71b04d53-4215-45c3-b35a-f21c12fb9d63/element/68020000-0000-0000-5402-000000000000/click] to [POST http://127.0.0.1:8100/session/19917069-2FD7-46F6-88B3-0FBE66C9706E/element/68020000-0000-0000-5402-000000000000/click] with body: {"id":"68020000-0000-0000-5402-000000000000"}[debug] [WD Proxy] Got response with status 200: {"value":null,"sessionId":"19917069-2FD7-46F6-88B3-0FBE66C9706E"} [info] [WD Proxy] Replacing sessionId 19917069-2FD7-46F6-88B3-0FBE66C9706E with 71b04d53-4215-45c3-b35a-f21c12fb9d63 [info] [HTTP] <-- POST /wd/hub/session/71b04d53-4215-45c3-b35a-f21c12fb9d63/element/68020000-0000-0000-5402-000000000000/click 200 725 ms - 65 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/71b04d53-4215-45c3-b35a-f21c12fb9d63/element [info] [HTTP] {"using":"xpath","value":"//XCUIElementTypeButton[@name='Clear History and Data']"} [debug] [W3C (71b04d53)] Calling AppiumDriver.findElement() with args: ["xpath","//XCUIElementTypeButton[@name='Clear History and Data']","71b04d53-4215-45c3-b35a-f21c12fb9d63"] [debug] [XCUITest] Executing command 'findElement' [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id, css selector [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8100/session/19917069-2FD7-46F6-88B3-0FBE66C9706E/element] with body: {"using":"xpath","value":"//XCUIElementTypeButton[@name='Clear History and Data']"}[debug] [WD Proxy] Got response with status 200: {"value":{"ELEMENT":"11030000-0000-0000-5402-000000000000","element-6066-11e4-a52e-4f735466cecf":"11030000-0000-0000-5402-000000000000"},"sessionId":"19917069-2FD7-46F6-88B3-0FBE66C9706E"} [debug] [W3C (71b04d53)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"11030000-0000-0000-5402-000000000000","ELEMENT":"11030000-0000-0000-5402-000000000000"} [info] [HTTP] <-- POST /wd/hub/session/71b04d53-4215-45c3-b35a-f21c12fb9d63/element 200 916 ms - 137 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/71b04d53-4215-45c3-b35a-f21c12fb9d63/element/11030000-0000-0000-5402-000000000000/click [info] [HTTP] {"id":"11030000-0000-0000-5402-000000000000"} [info] [W3C (71b04d53)] Driver proxy active, passing request on via HTTP proxy [debug] [XCUITest] Executing command 'proxyReqRes' [debug] [WD Proxy] Matched '/wd/hub/session/71b04d53-4215-45c3-b35a-f21c12fb9d63/element/11030000-0000-0000-5402-000000000000/click' to command name 'click' [debug] [WD Proxy] Proxying [POST /wd/hub/session/71b04d53-4215-45c3-b35a-f21c12fb9d63/element/11030000-0000-0000-5402-000000000000/click] to [POST http://127.0.0.1:8100/session/19917069-2FD7-46F6-88B3-0FBE66C9706E/element/11030000-0000-0000-5402-000000000000/click] with body: {"id":"11030000-0000-0000-5402-000000000000"}[debug] [WD Proxy] Got response with status 200: {"value":null,"sessionId":"19917069-2FD7-46F6-88B3-0FBE66C9706E"} [info] [WD Proxy] Replacing sessionId 19917069-2FD7-46F6-88B3-0FBE66C9706E with 71b04d53-4215-45c3-b35a-f21c12fb9d63 [info] [HTTP] <-- POST /wd/hub/session/71b04d53-4215-45c3-b35a-f21c12fb9d63/element/11030000-0000-0000-5402-000000000000/click 200 1060 ms - 65 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session [info] [HTTP] {"desiredCapabilities":{"app":"/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa","includeSafariInWebviews":true,"clearSystemFiles":true,"platformVersion":"14.6","automationName":"XCUITest","language":"en","locale":"US","platformName":"IOS","udid":"00008020-001D70A81428003A","deviceName":"sureadminIOS"},"capabilities":{"firstMatch":[{"appium:app":"/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa","appium:automationName":"XCUITest","appium:clearSystemFiles":true,"appium:deviceName":"sureadminIOS","includeSafariInWebviews":true,"appium:language":"en","appium:locale":"US","platformName":"ios","appium:platformVersion":"14.6","appium:udid":"00008020-001D70A81428003A"}]}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa","includeSafariInWebviews":true,"clearSystemFiles":true,"platformVersion":"14.6","automationName":"XCUITest","language":"en","locale":"US","platformName":"IOS","udid":"00008020-001D70A81428003A","deviceName":"sureadminIOS"},null,{"firstMatch":[{"appium:app":"/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa","appium:automationName":"XCUITest","appium:clearSystemFiles":true,"appium:deviceName":"sureadminIOS","includeSafariInWebviews":true,"appium:language":"en","appium:locale":"US","platformName":"ios","appium:platformVersion":"14.6","appium:udid":"00008020-001D70A81428003A"}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1632917794031 (07:16:34 GMT-0500 (Central Daylight Time)) [warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: [warn] [BaseDriver] includeSafariInWebviews [info] [Appium] Appium v1.21.0 creating new XCUITestDriver (v3.43.0) session [info] [Appium] Applying relaxed security to 'XCUITestDriver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "appium:includeSafariInWebviews": true, [debug] [BaseDriver] "platformName": "ios", [debug] [BaseDriver] "appium:app": "/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa", [debug] [BaseDriver] "appium:automationName": "XCUITest", [debug] [BaseDriver] "appium:clearSystemFiles": true, [debug] [BaseDriver] "appium:deviceName": "sureadminIOS", [debug] [BaseDriver] "appium:language": "en", [debug] [BaseDriver] "appium:locale": "US", [debug] [BaseDriver] "appium:platformVersion": "14.6", [debug] [BaseDriver] "appium:udid": "00008020-001D70A81428003A" [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [info] [BaseDriver] Session created with session id: 5bdcbd2b-5c6a-4f65-a798-cd182c2df793 [debug] [XCUITest] Current user: 'admin'[debug] [XCUITest] Available devices: 00008020-001D70A81428003A [debug] [XCUITest] Creating iDevice object with udid '00008020-001D70A81428003A' [info] [XCUITest] Determining device to run tests on: udid: '00008020-001D70A81428003A', real device: true [debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1632917794079 (07:16:34 GMT-0500 (Central Daylight Time)) [info] [BaseDriver] Using local app '/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa' [info] [BaseDriver] Will reuse previously cached application at '/var/folders/h9/w5rz4m1j6dx2474ff7n4ftq40000gn/T/2021829-2298-uos4nn.6bf58/HP.Phone.BEAM.iOS.app' [debug] [BaseDriver] Event 'appConfigured' logged at 1632917794172 (07:16:34 GMT-0500 (Central Daylight Time)) [debug] [XCUITest] Checking whether app '/var/folders/h9/w5rz4m1j6dx2474ff7n4ftq40000gn/T/2021829-2298-uos4nn.6bf58/HP.Phone.BEAM.iOS.app' is actually present on file system [debug] [XCUITest] App is present [debug] [iOS] Getting bundle ID from app '/var/folders/h9/w5rz4m1j6dx2474ff7n4ftq40000gn/T/2021829-2298-uos4nn.6bf58/HP.Phone.BEAM.iOS.app': 'com.hp.beam-release' [debug] [BaseDriver] Event 'resetStarted' logged at 1632917794172 (07:16:34 GMT-0500 (Central Daylight Time)) [debug] [XCUITest] Reset: running ios real device reset flow [debug] [BaseDriver] Event 'resetComplete' logged at 1632917794173 (07:16:34 GMT-0500 (Central Daylight Time)) [info] [WebDriverAgent] Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent' [info] [WebDriverAgent] Using WDA agent: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'[debug] [XCUITest] Crash reports root '/Users/admin/Library/Logs/CrashReporter/MobileDevice/sureadminIOS' does not exist. Got nothing to gather. [debug] [BaseDriver] Event 'logCaptureStarted' logged at 1632917794367 (07:16:34 GMT-0500 (Central Daylight Time)) [info] [XCUITest] Setting up real device [debug] [XCUITest] Verifying application platform [debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"][debug] [XCUITest] Reset requested. Removing app with id 'com.hp.beam-release' from the device[debug] [XCUITest] Installing '/var/folders/h9/w5rz4m1j6dx2474ff7n4ftq40000gn/T/2021829-2298-uos4nn.6bf58/HP.Phone.BEAM.iOS.app' on device with UUID '00008020-001D70A81428003A'...[debug] [WebDriverAgent] Parsed BUILD_DIR configuration value: '/Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Build/Products' [debug] [WebDriverAgent] Got derived data root: '/Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp'[debug] [Support] Traversed 49 directories and 227 files in 8406ms [debug] [XCUITest] Pushed the app files successfully after 8529ms[info] [XCUITest] App installation succeeded after 9255ms [debug] [XCUITest] The app has been installed successfully. [debug] [BaseDriver] Event 'appInstalled' logged at 1632917804071 (07:16:44 GMT-0500 (Central Daylight Time))[debug] [WebDriverAgent] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found [info] [DevCon Factory] Requesting connection for device 00008020-001D70A81428003A on local port 8100, device port 8100 [debug] [DevCon Factory] Cached connections count: 1 [info] [DevCon Factory] Found cached connections on port #8100: ["00008020-001D70A81428003A:8100"] [warn] [DevCon Factory] Port #8100 is busy. Did you quit the previous driver session(s) properly? [info] [DevCon Factory] Trying to release the port [info] [DevCon Factory] Releasing the listener for '00008020-001D70A81428003A:8100' [debug] [iProxy@00008020:8100] Closing the connection [info] [DevCon Factory] Port #8100 has been successfully released after 4ms [info] [DevCon Factory] Successfully requested the connection for 00008020-001D70A81428003A:8100 [debug] [XCUITest] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver' [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [debug] [WD Proxy] Got response with status 200: {"value":{"message":"WebDriverAgent is ready to accept commands","state":"success","os":{"testmanagerdVersion":28,"name":"iOS","sdkVersion":"15.0","version":"14.6"},"ios":{"ip":"192.168.1.234"},"ready":true,"build":{"upgradedAt":"1620631774000","time":"Sep 29 2021 06:29:34","productBundleIdentifier":"com.facebook.WebDriverAgentRunner"}},"sessionId":"19917069-2FD7-46F6-88B3-0FBE66C9706E"} [debug] [WebDriverAgent] Upgrade timestamp of the currently bundled WDA: 1620631774000 [debug] [WebDriverAgent] Upgrade timestamp of the WDA on the device: 1620631774000 [info] [WebDriverAgent] Will reuse previously cached WDA instance at 'http://127.0.0.1:8100/' with 'com.facebook.WebDriverAgentRunner'. Set the wdaLocalPort capability to a value different from 8100 if this is an undesired behavior. [debug] [XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval [debug] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities [debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1632917804220 (07:16:44 GMT-0500 (Central Daylight Time)) [info] [WebDriverAgent] Using provided WebdriverAgent at 'http://127.0.0.1:8100/' [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body [debug] [WD Proxy] Got response with status 200: {"value":{"message":"WebDriverAgent is ready to accept commands","state":"success","os":{"testmanagerdVersion":28,"name":"iOS","sdkVersion":"15.0","version":"14.6"},"ios":{"ip":"192.168.1.234"},"ready":true,"build":{"upgradedAt":"1620631774000","time":"Sep 29 2021 06:29:34","productBundleIdentifier":"com.facebook.WebDriverAgentRunner"}},"sessionId":"19917069-2FD7-46F6-88B3-0FBE66C9706E"} [debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1632917804230 (07:16:44 GMT-0500 (Central Daylight Time)) [debug] [XCUITest] Sending createSession command to WDA [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.hp.beam-release","arguments":["-AppleLanguages","(en)","-NSLanguages","(en)","-AppleLocale","US"],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"shouldTerminateApp":true}],"alwaysMatch":{}}}[info] [iProxy@00008020:8100] The connection has been closed[debug] [WD Proxy] Got response with status 200: {"value":{"sessionId":"0B68B72C-26F8-4A0C-A688-055E56F635CD","capabilities":{"device":"iphone","browserName":"HP Sure Admin","sdkVersion":"14.6","CFBundleIdentifier":"com.hp.beam-release"}},"sessionId":"0B68B72C-26F8-4A0C-A688-055E56F635CD"} [info] [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1632917806110 (07:16:46 GMT-0500 (Central Daylight Time)) [debug] [BaseDriver] Event 'wdaStarted' logged at 1632917806111 (07:16:46 GMT-0500 (Central Daylight Time)) [info] [XCUITest] Skipping setting of the initial display orientation. Set the "orientation" capability to either "LANDSCAPE" or "PORTRAIT", if this is an undesired behavior. [debug] [BaseDriver] Event 'orientationSet' logged at 1632917806111 (07:16:46 GMT-0500 (Central Daylight Time)) [debug] [BaseDriver] The value of 'elementResponseAttributes' setting did not change. Skipping the update for it [debug] [BaseDriver] The value of 'shouldUseCompactResponses' setting did not change. Skipping the update for it [info] [Appium] New XCUITestDriver session created successfully, session 5bdcbd2b-5c6a-4f65-a798-cd182c2df793 added to master session list [debug] [BaseDriver] Event 'newSessionStarted' logged at 1632917806112 (07:16:46 GMT-0500 (Central Daylight Time)) [debug] [W3C (5bdcbd2b)] Cached the protocol value 'W3C' for the new session 5bdcbd2b-5c6a-4f65-a798-cd182c2df793 [debug] [W3C (5bdcbd2b)] Responding to client with driver.createSession() result: {"capabilities":{"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"platformName":"ios","includeSafariInWebviews":true,"app":"/Users/admin/Desktop/hp-sureadmin-automation-master/Resources/HP.Phone.BEAM.iOS-5.ipa","automationName":"XCUITest","clearSystemFiles":true,"deviceName":"sureadminIOS","language":"en","locale":"US","platformVersion":"14.6","udid":"00008020-001D70A81428003A"}} [info] [HTTP] <-- POST /wd/hub/session 200 12082 ms - 591 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/element [info] [HTTP] {"using":"accessibility id","value":"stkScanQRCode"} [debug] [W3C (5bdcbd2b)] Calling AppiumDriver.findElement() with args: ["accessibility id","stkScanQRCode","5bdcbd2b-5c6a-4f65-a798-cd182c2df793"] [debug] [XCUITest] Executing command 'findElement' [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id, css selector [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8100/session/0B68B72C-26F8-4A0C-A688-055E56F635CD/element] with body: {"using":"accessibility id","value":"stkScanQRCode"} [debug] [WD Proxy] Got response with status 200: {"value":{"ELEMENT":"20000000-0000-0000-5702-000000000000","element-6066-11e4-a52e-4f735466cecf":"20000000-0000-0000-5702-000000000000"},"sessionId":"0B68B72C-26F8-4A0C-A688-055E56F635CD"} [debug] [W3C (5bdcbd2b)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"20000000-0000-0000-5702-000000000000","ELEMENT":"20000000-0000-0000-5702-000000000000"} [info] [HTTP] <-- POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/element 200 181 ms - 137 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/element/20000000-0000-0000-5702-000000000000/click [info] [HTTP] {"id":"20000000-0000-0000-5702-000000000000"} [info] [W3C (5bdcbd2b)] Driver proxy active, passing request on via HTTP proxy [debug] [XCUITest] Executing command 'proxyReqRes' [debug] [WD Proxy] Matched '/wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/element/20000000-0000-0000-5702-000000000000/click' to command name 'click' [debug] [WD Proxy] Proxying [POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/element/20000000-0000-0000-5702-000000000000/click] to [POST http://127.0.0.1:8100/session/0B68B72C-26F8-4A0C-A688-055E56F635CD/element/20000000-0000-0000-5702-000000000000/click] with body: {"id":"20000000-0000-0000-5702-000000000000"}[debug] [WD Proxy] Got response with status 200: {"value":null,"sessionId":"0B68B72C-26F8-4A0C-A688-055E56F635CD"} [info] [WD Proxy] Replacing sessionId 0B68B72C-26F8-4A0C-A688-055E56F635CD with 5bdcbd2b-5c6a-4f65-a798-cd182c2df793 [info] [HTTP] <-- POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/element/20000000-0000-0000-5702-000000000000/click 200 325 ms - 65 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/elements [info] [HTTP] {"using":"xpath","value":"//*[@label='OK']"} [debug] [W3C (5bdcbd2b)] Calling AppiumDriver.findElements() with args: ["xpath","//*[@label='OK']","5bdcbd2b-5c6a-4f65-a798-cd182c2df793"] [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, css selector [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8100/session/0B68B72C-26F8-4A0C-A688-055E56F635CD/elements] with body: {"using":"xpath","value":"//*[@label='OK']"}[debug] [WD Proxy] Got response with status 200: {"value":[{"ELEMENT":"0A030000-0000-0000-3D00-000000000000","element-6066-11e4-a52e-4f735466cecf":"0A030000-0000-0000-3D00-000000000000"}],"sessionId":"0B68B72C-26F8-4A0C-A688-055E56F635CD"} [debug] [W3C (5bdcbd2b)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"0A030000-0000-0000-3D00-000000000000","ELEMENT":"0A030000-0000-0000-3D00-000000000000"}] [info] [HTTP] <-- POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/elements 200 466 ms - 139 [info] [HTTP] [debug] [WD Proxy] Got response with status 200: {"value":{"ELEMENT":"0A030000-0000-0000-3D00-000000000000","element-6066-11e4-a52e-4f735466cecf":"0A030000-0000-0000-3D00-000000000000"},"sessionId":"0B68B72C-26F8-4A0C-A688-055E56F635CD"} [debug] [W3C (5bdcbd2b)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"0A030000-0000-0000-3D00-000000000000","ELEMENT":"0A030000-0000-0000-3D00-000000000000"} [info] [HTTP] <-- POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/element 200 991 ms - 137 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/element/0A030000-0000-0000-3D00-000000000000/click [info] [HTTP] {"id":"0A030000-0000-0000-3D00-000000000000"} [info] [W3C (5bdcbd2b)] Driver proxy active, passing request on via HTTP proxy [debug] [XCUITest] Executing command 'proxyReqRes' [debug] [WD Proxy] Matched '/wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/element/0A030000-0000-0000-3D00-000000000000/click' to command name 'click' [debug] [WD Proxy] Proxying [POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/element/0A030000-0000-0000-3D00-000000000000/click] to [POST http://127.0.0.1:8100/session/0B68B72C-26F8-4A0C-A688-055E56F635CD/element/0A030000-0000-0000-3D00-000000000000/click] with body: {"id":"0A030000-0000-0000-3D00-000000000000"}[debug] [WD Proxy] Got response with status 200: {"value":null,"sessionId":"0B68B72C-26F8-4A0C-A688-055E56F635CD"} [info] [WD Proxy] Replacing sessionId 0B68B72C-26F8-4A0C-A688-055E56F635CD with 5bdcbd2b-5c6a-4f65-a798-cd182c2df793 [info] [HTTP] <-- POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/element/0A030000-0000-0000-3D00-000000000000/click 200 4651 ms - 65 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/elements [info] [HTTP] {"using":"xpath","value":"//*[@label='Continue']"} [debug] [W3C (5bdcbd2b)] Calling AppiumDriver.findElements() with args: ["xpath","//*[@label='Continue']","5bdcbd2b-5c6a-4f65-a798-cd182c2df793"] [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, css selector [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8100/session/0B68B72C-26F8-4A0C-A688-055E56F635CD/elements] with body: {"using":"xpath","value":"//*[@label='Continue']"}[debug] [WD Proxy] Got response with status 200: {"value":[],"sessionId":"0B68B72C-26F8-4A0C-A688-055E56F635CD"} [debug] [W3C (5bdcbd2b)] Responding to client with driver.findElements() result: [] [info] [HTTP] <-- POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/elements 200 600 ms - 12 [info] [HTTP]  [info] [HTTP] --> GET /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/contexts [info] [HTTP] {} [debug] [W3C (5bdcbd2b)] Calling AppiumDriver.getContexts() with args: ["5bdcbd2b-5c6a-4f65-a798-cd182c2df793"] [debug] [XCUITest] Executing command 'getContexts' [debug] [XCUITest] Getting list of available contexts [debug] [iOS] Retrieving contexts and views [debug] [XCUITest] Selecting by url: false [info] [RemoteDebugger] Remote Debugger version 8.13.2 [debug] [RemoteDebugger] useNewSafari --> false [debug] [RemoteDebugger] Checking which communication style to use (non-Safari on platform version '14.6') [debug] [RemoteDebugger] Platform version equal or higher than '12.2': true [warn] [RemoteDebugger] Setting communication protocol: using Target-based communication[debug] [RemoteDebugger] Sending connection key request [debug] [RemoteDebugger] Sending '_rpc_reportIdentifier:' message (id: 0): 'setConnectionKey' [debug] [RemoteDebugger] Sending to Web Inspector took 2ms [debug] [RemoteDebugger] Sending connection key request [debug] [RemoteDebugger] Sending '_rpc_reportIdentifier:' message (id: 2): 'setConnectionKey' [debug] [RemoteDebugger] Sending to Web Inspector took 1ms [debug] [RemoteDebugger] Selecting application [debug] [RemoteDebugger] No applications currently connected. [debug] [XCUITest] No web frames found. [debug] [W3C (5bdcbd2b)] Responding to client with driver.getContexts() result: ["NATIVE_APP"] [info] [HTTP] <-- GET /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/contexts 200 131 ms - 24 [info] [HTTP]  [debug] [RemoteDebugger] Received connected automation availability state: "WIRAutomationAvailabilityAvailable" [debug] [RemoteDebugger] Received connected applications list: PID:72 [debug] [RemoteDebugger] Received connected driver list: {}[info] [HTTP] --> GET /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/contexts [info] [HTTP] {} [debug] [W3C (5bdcbd2b)] Calling AppiumDriver.getContexts() with args: ["5bdcbd2b-5c6a-4f65-a798-cd182c2df793"] [debug] [XCUITest] Executing command 'getContexts' [debug] [XCUITest] Getting list of available contexts [debug] [iOS] Retrieving contexts and views [debug] [XCUITest] Selecting by url: false [debug] [RemoteDebugger] Sending connection key request [debug] [RemoteDebugger] Sending '_rpc_reportIdentifier:' message (id: 4): 'setConnectionKey' [debug] [RemoteDebugger] Sending to Web Inspector took 2ms [debug] [RemoteDebugger] Selecting application [debug] [RemoteDebugger] No applications currently connected. [debug] [XCUITest] No web frames found. [debug] [W3C (5bdcbd2b)] Responding to client with driver.getContexts() result: ["NATIVE_APP"] [info] [HTTP] <-- GET /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/contexts 200 5 ms - 24 [info] [HTTP] [info] [iProxy@00008020:8100] The connection has been closed[info] [HTTP] --> POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/elements [info] [HTTP] {"using":"xpath","value":"//*[@id='otherTileText']"} [debug] [W3C (5bdcbd2b)] Calling AppiumDriver.findElements() with args: ["xpath","//*[@id='otherTileText']","5bdcbd2b-5c6a-4f65-a798-cd182c2df793"] [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, css selector [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8100/session/0B68B72C-26F8-4A0C-A688-055E56F635CD/elements] with body: {"using":"xpath","value":"//*[@id='otherTileText']"}[debug] [WD Proxy] Got response with status 200: {"value":[],"sessionId":"0B68B72C-26F8-4A0C-A688-055E56F635CD"} [debug] [W3C (5bdcbd2b)] Responding to client with driver.findElements() result: [] [info] [HTTP] <-- POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/elements 200 344 ms - 12 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/element [info] [HTTP] {"using":"xpath","value":"//*[@id='i0116']"} [debug] [W3C (5bdcbd2b)] Calling AppiumDriver.findElement() with args: ["xpath","//*[@id='i0116']","5bdcbd2b-5c6a-4f65-a798-cd182c2df793"] [debug] [XCUITest] Executing command 'findElement' [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id, css selector [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8100/session/0B68B72C-26F8-4A0C-A688-055E56F635CD/element] with body: {"using":"xpath","value":"//*[@id='i0116']"}[info] [WD Proxy] Got response with status 404: {"value":{"error":"no such element","message":"unable to find an element using 'xpath', value '//*[@id='i0116']'","traceback":"(\n\t0 WebDriverAgentLib 0x0000000102e6ba4c FBNoSuchElementErrorResponseForRequest + 288\n\t1 WebDriverAgentLib 0x0000000102e6b850 +[FBFindElementCommands handleFindElement:] + 336\n\t2 WebDriverAgentLib 0x0000000102e341f8 -[FBRoute_TargetAction mountRequest:intoResponse:] + 180\n\t3 WebDriverAgentLib 0x0000000102e16208 __37-[FBWebServer registerRouteHandlers:]_block_invoke + 420\n\t4 WebDriverAgentLib 0x0000000102e536fc -[RoutingHTTPServer handleRoute:withRequest:response:] + 164\n\t5 WebDriverAgentLib 0x0000000102e540c0 __72-[RoutingHTTPServer routeMethod:withPath:parameters:request:connection:]_block_invoke + 64\n\t6 libdispatch.dylib 0x00000001a8eb781c DAF30062-4C85-3B92-B159-50602A0C9D97 + 18460\n\t7 libdispatch.dylib 0... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (5bdcbd2b)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (5bdcbd2b)] at XCUITestDriver.doNativeFind (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/find.js:130:11) [debug] [W3C (5bdcbd2b)] at runMicrotasks () [debug] [W3C (5bdcbd2b)] at processTicksAndRejections (internal/process/task_queues.js:85:5) [info] [HTTP] <-- POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/element 404 363 ms - 521 [info] [HTTP]  [info] [HTTP] --> GET /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/contexts [info] [HTTP] {} [debug] [W3C (5bdcbd2b)] Calling AppiumDriver.getContexts() with args: ["5bdcbd2b-5c6a-4f65-a798-cd182c2df793"] [debug] [XCUITest] Executing command 'getContexts' [debug] [XCUITest] Getting list of available contexts [debug] [iOS] Retrieving contexts and views [debug] [XCUITest] Selecting by url: false [debug] [RemoteDebugger] Sending connection key request [debug] [RemoteDebugger] Sending '_rpc_reportIdentifier:' message (id: 6): 'setConnectionKey' [debug] [RemoteDebugger] Sending to Web Inspector took 1ms [debug] [RemoteDebugger] Selecting application [debug] [RemoteDebugger] No applications currently connected. [debug] [XCUITest] No web frames found. [debug] [W3C (5bdcbd2b)] Responding to client with driver.getContexts() result: ["NATIVE_APP"] [info] [HTTP] <-- GET /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/contexts 200 3 ms - 24 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/context [info] [HTTP] {"name":"NATIVE_APP"} [debug] [W3C (5bdcbd2b)] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","5bdcbd2b-5c6a-4f65-a798-cd182c2df793"] [debug] [XCUITest] Executing command 'setContext' [debug] [XCUITest] Attempting to set context to 'NATIVE_APP' from 'NATIVE_APP' [debug] [XCUITest] Already in 'NATIVE_APP' context. Doing nothing. [debug] [W3C (5bdcbd2b)] Responding to client with driver.setContext() result: null [info] [HTTP] <-- POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/context 200 1 ms - 14 [info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/timeouts [info] [HTTP] {"implicit":3000} [debug] [W3C (5bdcbd2b)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,3000,"5bdcbd2b-5c6a-4f65-a798-cd182c2df793"] [debug] [XCUITest] Executing command 'timeouts' [debug] [BaseDriver] W3C timeout argument: {"implicit":3000}} [debug] [BaseDriver] Set implicit wait to 3000ms [debug] [W3C (5bdcbd2b)] Responding to client with driver.timeouts() result: null [info] [HTTP] <-- POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/timeouts 200 3 ms - 14 [info] [HTTP]  [info] [HTTP] --> POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/elements [info] [HTTP] {"using":"xpath","value":"//*[@label='Server Error. Please contact your administrator (Error Code: 407).']"} [debug] [W3C (5bdcbd2b)] Calling AppiumDriver.findElements() with args: ["xpath","//*[@label='Server Error. Please contact your administrator (Error Code: 407).']","5bdcbd2b-5c6a-4f65-a798-cd182c2df793"] [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, css selector [debug] [BaseDriver] Waiting up to 3000 ms for condition [debug] [WD Proxy] Matched '/elements' to command name 'findElements' [debug] [WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8100/session/0B68B72C-26F8-4A0C-A688-055E56F635CD/elements] with body: {"using":"xpath","value":"//*[@label='Server Error. Please contact your administrator (Error Code: 407).']"}[debug] [WD Proxy] Got response with status 200: {"value":[{"ELEMENT":"4C000000-0000-0000-5702-000000000000","element-6066-11e4-a52e-4f735466cecf":"4C000000-0000-0000-5702-000000000000"}],"sessionId":"0B68B72C-26F8-4A0C-A688-055E56F635CD"} [debug] [W3C (5bdcbd2b)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"4C000000-0000-0000-5702-000000000000","ELEMENT":"4C000000-0000-0000-5702-000000000000"}] [info] [HTTP] <-- POST /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793/elements 200 666 ms - 139 [info] [HTTP]  [info] [HTTP] --> DELETE /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793 [info] [HTTP] {} [debug] [W3C (5bdcbd2b)] Calling AppiumDriver.deleteSession() with args: ["5bdcbd2b-5c6a-4f65-a798-cd182c2df793"] [debug] [BaseDriver] Event 'quitSessionRequested' logged at 1632917838965 (07:17:18 GMT-0500 (Central Daylight Time)) [info] [Appium] Removing session 5bdcbd2b-5c6a-4f65-a798-cd182c2df793 from our master session list [debug] [WD Proxy] Matched '/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793' to command name 'deleteSession' [debug] [WD Proxy] Proxying [DELETE /session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793] to [DELETE http://127.0.0.1:8100/session/0B68B72C-26F8-4A0C-A688-055E56F635CD] with no body[debug] [WD Proxy] Got response with status 200: {"value":null,"sessionId":null} [info] [DevCon Factory] Releasing connections for 00008020-001D70A81428003A device on any port number [info] [DevCon Factory] Found cached connections to release: ["00008020-001D70A81428003A:8100"] [info] [DevCon Factory] Releasing the listener for '00008020-001D70A81428003A:8100' [debug] [iProxy@00008020:8100] Closing the connection [debug] [DevCon Factory] Cached connections count: 0 [info] [XCUITest] Not cleaning '/Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs' folder, because the other session does not expect it to be cleaned [debug] [XCUITest] Found a remote debugger session. Removing... [debug] [RemoteDebugger] Disconnecting from remote debugger [debug] [RemoteDebugger] Cleaning up listeners [debug] [BaseDriver] Event 'quitSessionFinished' logged at 1632917840040 (07:17:20 GMT-0500 (Central Daylight Time)) [debug] [W3C (5bdcbd2b)] Received response: null [debug] [W3C (5bdcbd2b)] But deleting session, so not returning [debug] [W3C (5bdcbd2b)] Responding to client with driver.deleteSession() result: null [info] [HTTP] <-- DELETE /wd/hub/session/5bdcbd2b-5c6a-4f65-a798-cd182c2df793 200 1077 ms - 14 [info] [HTTP] [warn] [BaseDriver] Shutting down because we waited 60 seconds for a command [warn] [Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability' [info] [Appium] Removing session '71b04d53-4215-45c3-b35a-f21c12fb9d63' from our master session list [info] [DevCon Factory] Releasing connections for 00008020-001D70A81428003A device on any port number [info] [DevCon Factory] No cached connections have been found [debug] [XCUITest] Did not find the temporary XCTest logs root at '/var/folders/h9/w5rz4m1j6dx2474ff7n4ftq40000gn/T/com.apple.dt.XCTest*/' [info] [XCUITest] Cleaning test logs in '/Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs' folder [debug] [iOS] Clearing log files[debug] [iOS] Deleting '/Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-alwvnomvwrdtzoaxbbkniqrpcdpp/Logs'. Freeing 12K. [debug] [iOS] Finished clearing log files[info] [iProxy@00008020:8100] The connection has been closed