Skip to content

InvalidArgumentError: Both latitude and longitude should be set #2134

@prasanta-biswas

Description

@prasanta-biswas

Description

setLocation() is throwing org.openqa.selenium.InvalidArgumentException: Both latitude and longitude should be set while trying to set location

Environment

  • Java client build version or git revision if you use some snapshot: 9.1.0
  • Appium server version or git revision if you use some snapshot: 2.4.1
  • Desktop OS/version used to run Appium if necessary: NA
  • Node.js version (unless using Appium.app|exe) or Appium CLI or Appium.app|exe: Node v21.6.0
  • Mobile platform/version under test: iOS
  • Real device or emulator/simulator: iPhone XR iOS 17.4 Real Device

Details

Getting illegal argument exception while executing driver.setLocation().

Code To Reproduce Issue [ Good To Have ]

Location location = new Location(-6.481552550908973, 106.9554425036772, 0D); ((SupportsLocation) driver).setLocation(driver, location); 

Exception Stacktraces

`org.openqa.selenium.InvalidArgumentException: Both latitude and longitude should be set
Build info: version: '4.18.1', revision: 'b1d3319b48'
System info: os.name: 'Mac OS X', os.arch: 'aarch64', os.version: '14.3', java.version: '11.0.19'
Driver info: io.appium.java_client.ios.IOSDriver
Command: [ae14f0d2-ff91-48e4-91d0-078b742fec23, setLocation {location=com.google.common.collect.ImmutableMap$Builder@11e14c1}]
Capabilities {appium:app: /Users/prasantabiswas/Downl..., appium:autoAcceptAlerts: true, appium:autoDismissAlerts: false, appium:autoWebview: false, appium:automationName: XCUITest, appium:bundleId: com.go-jek.ent.staging.develop, appium:clearSystemFiles: true, appium:databaseEnabled: false, appium:deviceName: iPhone XR, appium:javascriptEnabled: true, appium:locationContextEnabled: false, appium:networkConnectionEnabled: false, appium:newCommandTimeout: 120, appium:noReset: true, appium:platformVersion: iOS 17.4, appium:prebuiltWDAPath: /Users/prasantabiswas/.appi..., appium:resetOnSessionStartOnly: false, appium:shouldUseSingletonTestManager: false, appium:systemPort: 55994, appium:takesScreenshot: true, appium:udid: 00008020-000315A03E99002E, appium:updatedWDABundleId: com.go-jek.ios.staging.WebD..., appium:useJSONSource: true, appium:useNativeCachingStrategy: true, appium:useNewWDA: false, appium:usePreinstalledWDA: false, appium:waitForIdleTimeout: 30, appium:waitForQuiescence: false, appium:wdaConnectionTimeout: 120000, appium:wdaLaunchTimeout: 120000, appium:wdaStartupRetries: 2, appium:webStorageEnabled: false, platformName: IOS}
Session ID: ae14f0d2-ff91-48e4-91d0-078b742fec23

at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) at org.openqa.selenium.remote.ErrorCodec.decode(ErrorCodec.java:167) at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:138) at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:50) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:190) at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:237) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:519) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:592) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:302) at io.appium.java_client.remote.SupportsLocation.setLocation(SupportsLocation.java:93) 

`

Link To Appium Logs

2024-03-19 17:07:43:204 [Appium] Welcome to Appium v2.4.1 (REV 58b84c3979a9da6060cb03744b804e623c5af6dd) 2024-03-19 17:07:43:205 [Appium] Non-default server args: 2024-03-19 17:07:43:207 [Appium] { address: '127.0.0.1', port: 45782, sessionOverride: true } 2024-03-19 17:07:43:207 [Appium] The autodetected Appium home path: /Users/***/.appium 2024-03-19 17:07:43:207 [Appium] Attempting to load driver uiautomator2... 2024-03-19 17:07:43:208 [Appium] Attempting to load driver xcuitest... 2024-03-19 17:07:43:209 [Appium] Requiring driver at /Users/***/.appium/node_modules/appium-uiautomator2-driver/build/index.js 2024-03-19 17:07:43:214 [Appium] Requiring driver at /Users/***/.appium/node_modules/appium-xcuitest-driver/build/index.js 2024-03-19 17:07:44:304 [Appium] AndroidUiautomator2Driver has been successfully loaded in 1.096s 2024-03-19 17:07:44:305 [Appium] XCUITestDriver has been successfully loaded in 1.097s 2024-03-19 17:07:44:320 [Appium] Appium REST http interface listener started on http://127.0.0.1:45782 2024-03-19 17:07:44:320 [Appium] Available drivers: 2024-03-19 17:07:44:320 [Appium] - uiautomator2@2.29.10 (automationName 'UiAutomator2') 2024-03-19 17:07:44:320 [Appium] - xcuitest@7.3.0 (automationName 'XCUITest') 2024-03-19 17:07:44:320 [Appium] Available plugins: 2024-03-19 17:07:44:320 [Appium] - device-farm@8.4.7-rc.8 2024-03-19 17:07:44:320 [Appium] - appium-dashboard@v2.0.3 2024-03-19 17:07:44:321 [Appium] No plugins activated. Use the --use-plugins flag with names of plugins to activate 2024-03-19 17:07:44:530 [HTTP] --> GET /status 2024-03-19 17:07:44:530 [HTTP] {} 2024-03-19 17:07:44:530 [AppiumDriver@ddfa] Calling AppiumDriver.getStatus() with args: [] 2024-03-19 17:07:44:531 [AppiumDriver@ddfa] Responding to client with driver.getStatus() result: {"ready":true,"message":"The server is ready to accept new connections","build":{"version":"2.4.1","git-sha":"58b84c3979a9da6060cb03744b804e623c5af6dd","built":"2024-03-12 22:51:10 -0700"}} 2024-03-19 17:07:44:534 [HTTP] <-- GET /status 200 4 ms - 199 2024-03-19 17:07:44:534 [HTTP] 2024-03-19 17:07:44:659 [HTTP] --> GET /status 2024-03-19 17:07:44:659 [HTTP] {} 2024-03-19 17:07:44:659 [AppiumDriver@ddfa] Calling AppiumDriver.getStatus() with args: [] 2024-03-19 17:07:44:660 [AppiumDriver@ddfa] Responding to client with driver.getStatus() result: {"ready":true,"message":"The server is ready to accept new connections","build":{"version":"2.4.1","git-sha":"58b84c3979a9da6060cb03744b804e623c5af6dd","built":"2024-03-12 22:51:10 -0700"}} 2024-03-19 17:07:44:660 [HTTP] <-- GET /status 200 1 ms - 199 2024-03-19 17:07:44:660 [HTTP] 2024-03-19 17:07:44:727 [HTTP] Request idempotency key: 5012fd69-0fd7-4639-a096-0e842d68fa91 2024-03-19 17:07:44:736 [HTTP] --> POST /session 2024-03-19 17:07:44:736 [HTTP] {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"appium:newCommandTimeout":120,"appium:deviceName":"iPhone XR","appium:automationName":"XCUITest","appium:wdaLaunchTimeout":"120000","appium:udid":"00008020-000315A03E99002E","appium:autoAcceptAlerts":true,"platformName":"IOS","appium:useNewWDA":false,"appium:autoWebview":false,"appium:prebuiltWDAPath":"/Users/***/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/appium_wda_ios","appium:waitForQuiescence":false,"appium:useNativeCachingStrategy":true,"appium:systemPort":55994,"appium:waitForIdleTimeout":30,"appium:resetOnSessionStartOnly":false,"appium:wdaConnectionTimeout":"120000","appium:autoDismissAlerts":false,"appium:clearSystemFiles":true,"appium:useJSONSource":true,"appium:wdaStartupRetries":2,"appium:platformVersion":"iOS 17.4","appium:bundleId":"com.XX.develop","appium:usePreinstalledWDA":false,"appium:updatedWDABundleId":"com.XXX.WebDriverAgentRunner","appium:noReset":true,"app... 2024-03-19 17:07:44:736 [AppiumDriver@ddfa] Calling AppiumDriver.createSession() with args: [null,null,{"firstMatch":[{}],"alwaysMatch":{"appium:newCommandTimeout":120,"appium:deviceName":"iPhone XR","appium:automationName":"XCUITest","appium:wdaLaunchTimeout":"120000","appium:udid":"00008020-000315A03E99002E","appium:autoAcceptAlerts":true,"platformName":"IOS","appium:useNewWDA":false,"appium:autoWebview":false,"appium:prebuiltWDAPath":"/Users/***/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/appium_wda_ios","appium:waitForQuiescence":false,"appium:useNativeCachingStrategy":true,"appium:systemPort":55994,"appium:waitForIdleTimeout":30,"appium:resetOnSessionStartOnly":false,"appium:wdaConnectionTimeout":"120000","appium:autoDismissAlerts":false,"appium:clearSystemFiles":true,"appium:useJSONSource":true,"appium:wdaStartupRetries":2,"appium:platformVersion":"iOS 17.4","appium:bundleId":"com.XXX.develop","appium:usePreinstalledWDA":false,"appium:updatedWDABundleId":"com.XXX.WebDriverAgentRunner","appium:noReset":true,"appium:s... 2024-03-19 17:07:44:736 [AppiumDriver@ddfa] Event 'newSessionRequested' logged at 1710868064736 (22:37:44 GMT+0530 (India Standard Time)) 2024-03-19 17:07:44:739 [Appium] Attempting to find matching driver for automationName 'XCUITest' and platformName 'IOS' 2024-03-19 17:07:44:739 [Appium] The 'xcuitest' driver was installed and matched caps. 2024-03-19 17:07:44:739 [Appium] Will require it at /Users/***/.appium/node_modules/appium-xcuitest-driver 2024-03-19 17:07:44:739 [Appium] Requiring driver at /Users/***/.appium/node_modules/appium-xcuitest-driver/build/index.js 2024-03-19 17:07:44:740 [AppiumDriver@ddfa] Appium v2.4.1 creating new XCUITestDriver (v7.3.0) session 2024-03-19 17:07:44:740 [AppiumDriver@ddfa] Checking BaseDriver versions for Appium and XCUITestDriver 2024-03-19 17:07:44:740 [AppiumDriver@ddfa] Appium's BaseDriver version is 9.5.0 2024-03-19 17:07:44:740 [AppiumDriver@ddfa] XCUITestDriver's BaseDriver version is 9.5.0 2024-03-19 17:07:44:740 [AppiumDriver@ddfa] There are no active sessions for cleanup 2024-03-19 17:07:44:742 [XCUITestDriver@3063] Creating session with W3C capabilities: { 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "alwaysMatch": { 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "platformName": "IOS", 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:newCommandTimeout": 120, 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:deviceName": "iPhone XR", 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:automationName": "XCUITest", 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:wdaLaunchTimeout": "120000", 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:udid": "00008020-000315A03E99002E", 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:autoAcceptAlerts": true, 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:useNewWDA": false, 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:autoWebview": false, 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:prebuiltWDAPath": "/Users/***/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/appium_wda_ios", 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:waitForQuiescence": false, 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:useNativeCachingStrategy": true, 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:systemPort": 55994, 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:waitForIdleTimeout": 30, 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:resetOnSessionStartOnly": false, 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:wdaConnectionTimeout": "120000", 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:autoDismissAlerts": false, 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:clearSystemFiles": true, 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:useJSONSource": true, 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:wdaStartupRetries": 2, 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:platformVersion": "iOS 17.4", 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:bundleId": "com.XXX.develop", 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:usePreinstalledWDA": false, 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:updatedWDABundleId": "com.XXX.WebDriverAgentRunner", 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:noReset": true, 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:shouldUseSingletonTestManager": false, 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "appium:app": "/Users/***/Downloads/Gojek-Integration-37fb8911.ipa" 2024-03-19 17:07:44:742 [XCUITestDriver@3063] }, 2024-03-19 17:07:44:742 [XCUITestDriver@3063] "firstMatch": [ 2024-03-19 17:07:44:742 [XCUITestDriver@3063] {} 2024-03-19 17:07:44:742 [XCUITestDriver@3063] ] 2024-03-19 17:07:44:742 [XCUITestDriver@3063] } 2024-03-19 17:07:44:744 [BaseDriver] Number capability passed in as string. Functionality may be compromised. 2024-03-19 17:07:44:744 [BaseDriver] Number capability passed in as string. Functionality may be compromised. 2024-03-19 17:07:44:745 [XCUITestDriver@3063] Capability 'wdaLaunchTimeout' changed from string ('120000') to integer (120000). This may cause unexpected behavior 2024-03-19 17:07:44:745 [XCUITestDriver@3063] Capability 'wdaConnectionTimeout' changed from string ('120000') to integer (120000). This may cause unexpected behavior 2024-03-19 17:07:44:746 [XCUITestDriver@3063] The following provided capabilities were not recognized by this driver: 2024-03-19 17:07:44:746 [XCUITestDriver@3063] systemPort 2024-03-19 17:07:44:746 [XCUITestDriver@3063 (ae14f0d2)] Session created with session id: ae14f0d2-ff91-48e4-91d0-078b742fec23 2024-03-19 17:07:44:771 [XCUITest] Current user: 'XXXX' 2024-03-19 17:07:44:780 [XCUITestDriver@3063 (ae14f0d2)] Available devices: 00008020-000315A03E99002E 2024-03-19 17:07:44:780 [XCUITest] Creating iDevice object with udid '00008020-000315A03E99002E' 2024-03-19 17:07:44:780 [XCUITestDriver@3063 (ae14f0d2)] Determining device to run tests on: udid: '00008020-000315A03E99002E', real device: true 2024-03-19 17:07:44:780 [XCUITestDriver@3063 (ae14f0d2)] Normalized platformVersion capability value 'iOS 17.4' to '17.4' 2024-03-19 17:07:44:807 [XCUITestDriver@3063 (ae14f0d2)] Event 'xcodeDetailsRetrieved' logged at 1710868064807 (22:37:44 GMT+0530 (India Standard Time)) 2024-03-19 17:07:44:808 [BaseDriver] Using local app '/Users/***/Downloads/XX-Integration-37fb8911.ipa' 2024-03-19 17:07:45:117 [Support] Found 'unzip' at '/usr/bin/unzip' 2024-03-19 17:07:51:740 [XCUITestDriver@3063 (ae14f0d2)] Found 1 bundle in 'XX-Integration-37fb8911.ipa': Payload/XX.app 2024-03-19 17:07:51:742 [XCUITestDriver@3063 (ae14f0d2)] 'Payload/XX.app' is the resulting application bundle selected from '/Users/***/Downloads/Gojek-Integration-37fb8911.ipa' 2024-03-19 17:07:51:790 [XCUITestDriver@3063 (ae14f0d2)] Event 'appConfigured' logged at 1710868071790 (22:37:51 GMT+0530 (India Standard Time)) 2024-03-19 17:07:51:790 [XCUITest] Checking whether app '/var/folders/3c/fzdrgfss3cz49g3b6jnyyzv40000gp/T/2024219-15872-cduffq.qmv2e/Gojek.app' is actually present on file system 2024-03-19 17:07:51:791 [XCUITest] App is present 2024-03-19 17:07:51:791 [XCUITestDriver@3063 (ae14f0d2)] Event 'resetStarted' logged at 1710868071791 (22:37:51 GMT+0530 (India Standard Time)) 2024-03-19 17:07:51:791 [XCUITest] Reset: fullReset not set. Leaving as is 2024-03-19 17:07:51:791 [XCUITestDriver@3063 (ae14f0d2)] Event 'resetComplete' logged at 1710868071791 (22:37:51 GMT+0530 (India Standard Time)) 2024-03-19 17:07:51:791 [XCUITestDriver@3063 (ae14f0d2)] Using WDA path: '/Users/***/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent' 2024-03-19 17:07:51:791 [XCUITestDriver@3063 (ae14f0d2)] Using WDA agent: '/Users/***/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj' 2024-03-19 17:07:51:876 [XCUITest] Crash reports root '/Users/***/Library/Logs/CrashReporter/MobileDevice/iPhone XR' does not exist. Got nothing to gather. 2024-03-19 17:07:51:983 [XCUITestDriver@3063 (ae14f0d2)] Event 'logCaptureStarted' logged at 1710868071983 (22:37:51 GMT+0530 (India Standard Time)) 2024-03-19 17:07:51:983 [XCUITestDriver@3063 (ae14f0d2)] Setting up real device 2024-03-19 17:07:51:984 [XCUITest] Verifying application platform 2024-03-19 17:07:51:985 [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"] 2024-03-19 17:07:52:153 [XCUITestDriver@3063 (ae14f0d2)] App 'com.XXX.develop' is already installed 2024-03-19 17:07:52:153 [XCUITestDriver@3063 (ae14f0d2)] noReset is requested. The app will not be be (re)installed 2024-03-19 17:07:52:318 [XCUITestDriver@3063 (ae14f0d2)] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found 2024-03-19 17:07:52:318 [DevCon Factory] Requesting connection for device 00008020-000315A03E99002E on local port 8100, device port 8100 2024-03-19 17:07:52:318 [DevCon Factory] Cached connections count: 0 2024-03-19 17:07:52:320 [DevCon Factory] Successfully requested the connection for 00008020-000315A03E99002E:8100 2024-03-19 17:07:52:321 [XCUITestDriver@3063 (ae14f0d2)] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver' 2024-03-19 17:07:52:322 [WD Proxy] Matched '/status' to command name 'getStatus' 2024-03-19 17:07:52:322 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body 2024-03-19 17:07:52:341 [WD Proxy] Got response with status 200: {"value":{"build":{"upgradedAt":"1710154955768","time":"Mar 19 2024 21:19:01","productBundleIdentifier":"com.XXX.WebDriverAgentRunner"},"os":{"testmanagerdVersion":65535,"name":"iOS","sdkVersion":"17.0","version":"17.4"},"device":"iphone","ios":{"ip":"192.168.1.10"},"message":"WebDriverAgent is ready to accept commands","state":"success","ready":true},"sessionId":null} 2024-03-19 17:07:52:341 [XCUITestDriver@3063 (ae14f0d2)] Upgrade timestamp of the currently bundled WDA: 1710154955768 2024-03-19 17:07:52:341 [XCUITestDriver@3063 (ae14f0d2)] Upgrade timestamp of the WDA on the device: 1710154955768 2024-03-19 17:07:52:341 [XCUITestDriver@3063 (ae14f0d2)] Will reuse previously cached WDA instance at 'http://127.0.0.1:8100/' with 'com.XXX.WebDriverAgentRunner'. Set the wdaLocalPort capability to a value different from 8100 if this is an undesired behavior. 2024-03-19 17:07:52:342 [XCUITestDriver@3063 (ae14f0d2)] Trying to start WebDriverAgent 2 times with 10000ms interval 2024-03-19 17:07:52:342 [XCUITestDriver@3063 (ae14f0d2)] Event 'wdaStartAttempted' logged at 1710868072342 (22:37:52 GMT+0530 (India Standard Time)) 2024-03-19 17:07:52:342 [XCUITestDriver@3063 (ae14f0d2)] Using provided WebdriverAgent at 'http://127.0.0.1:8100/' 2024-03-19 17:07:52:342 [WD Proxy] Matched '/status' to command name 'getStatus' 2024-03-19 17:07:52:343 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8100/status] with no body 2024-03-19 17:07:52:355 [WD Proxy] Got response with status 200: {"value":{"build":{"upgradedAt":"1710154955768","time":"Mar 19 2024 21:19:01","productBundleIdentifier":"com.XXX.WebDriverAgentRunner"},"os":{"testmanagerdVersion":65535,"name":"iOS","sdkVersion":"17.0","version":"17.4"},"device":"iphone","ios":{"ip":"192.168.1.10"},"message":"WebDriverAgent is ready to accept commands","state":"success","ready":true},"sessionId":null} 2024-03-19 17:07:52:355 [XCUITestDriver@3063 (ae14f0d2)] Event 'wdaSessionAttempted' logged at 1710868072355 (22:37:52 GMT+0530 (India Standard Time)) 2024-03-19 17:07:52:355 [XCUITestDriver@3063 (ae14f0d2)] Sending createSession command to WDA 2024-03-19 17:07:52:356 [XCUITestDriver@3063 (ae14f0d2)] Matched '/session' to command name 'createSession' 2024-03-19 17:07:52:356 [XCUITestDriver@3063 (ae14f0d2)] Proxying [POST /session] to [POST http://127.0.0.1:8100/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"com.XXX.develop","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":false,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":false,"waitForIdleTimeout":30,"shouldTerminateApp":false,"forceAppLaunch":false,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":true,"defaultAlertAction":"accept"}],"alwaysMatch":{}}} 2024-03-19 17:07:52:404 [XCUITestDriver@3063 (ae14f0d2)] Got response with status 200: {"value":{"sessionId":"AF078FAE-04AD-4305-9F70-2F26E72B8379","capabilities":{"sdkVersion":"17.4","device":"iphone"}},"sessionId":"AF078FAE-04AD-4305-9F70-2F26E72B8379"} 2024-03-19 17:07:52:404 [XCUITestDriver@3063 (ae14f0d2)] Determined the downstream protocol as 'W3C' 2024-03-19 17:07:52:404 [XCUITestDriver@3063 (ae14f0d2)] WDA session startup took 48ms 2024-03-19 17:07:52:404 [XCUITestDriver@3063 (ae14f0d2)] Event 'wdaSessionStarted' logged at 1710868072404 (22:37:52 GMT+0530 (India Standard Time)) 2024-03-19 17:07:54:009 [XCUITestDriver@3063 (ae14f0d2)] Parsed BUILD_DIR configuration value: '/Users/***/Library/Developer/Xcode/DerivedData/WebDriverAgent-bwosapqmvynrmncnkwkvpkijacdv/Build/Products' 2024-03-19 17:07:54:010 [XCUITestDriver@3063 (ae14f0d2)] Got derived data root: '/Users/***/Library/Developer/Xcode/DerivedData/WebDriverAgent-bwosapqmvynrmncnkwkvpkijacdv' 2024-03-19 17:07:54:010 [XCUITestDriver@3063 (ae14f0d2)] Event 'wdaStarted' logged at 1710868074010 (22:37:54 GMT+0530 (India Standard Time)) 2024-03-19 17:07:54:015 [XCUITestDriver@3063 (ae14f0d2)] Matched '/appium/settings' to command name 'updateSettings' 2024-03-19 17:07:54:015 [XCUITestDriver@3063 (ae14f0d2)] Proxying [POST /appium/settings] to [POST http://127.0.0.1:8100/session/AF078FAE-04AD-4305-9F70-2F26E72B8379/appium/settings] with body: {"settings":{"useJSONSource":true}} 2024-03-19 17:07:54:024 [XCUITestDriver@3063 (ae14f0d2)] Got response with status 200: {"value":{"mjpegFixOrientation":false,"boundElementsByIndex":false,"mjpegServerFramerate":10,"screenshotOrientation":"auto","reduceMotion":false,"elementResponseAttributes":"type,label","screenshotQuality":3,"mjpegScalingFactor":100,"keyboardPrediction":0,"defaultActiveApplication":"auto","mjpegServerScreenshotQuality":25,"defaultAlertAction":"accept","keyboardAutocorrection":0,"useFirstMatch":false,"shouldUseCompactResponses":true,"customSnapshotTimeout":15,"dismissAlertButtonSelector":"","activeAppDetectionPoint":"64.00,64.00","snapshotMaxDepth":50,"waitForIdleTimeout":30,"includeNonModalElements":false,"acceptAlertButtonSelector":"","animationCoolOffTimeout":2},"sessionId":"AF078FAE-04AD-4305-9F70-2F26E72B8379"} 2024-03-19 17:07:54:024 [BaseDriver] The value of 'elementResponseAttributes' setting did not change. Skipping the update for it 2024-03-19 17:07:54:024 [BaseDriver] The value of 'shouldUseCompactResponses' setting did not change. Skipping the update for it 2024-03-19 17:07:54:025 [AppiumDriver@ddfa] New XCUITestDriver session created successfully, session ae14f0d2-ff91-48e4-91d0-078b742fec23 added to master session list 2024-03-19 17:07:54:025 [AppiumDriver@ddfa] Event 'newSessionStarted' logged at 1710868074025 (22:37:54 GMT+0530 (India Standard Time)) 2024-03-19 17:07:54:025 [XCUITestDriver@3063 (ae14f0d2)] Cached the protocol value 'W3C' for the new session ae14f0d2-ff91-48e4-91d0-078b742fec23 2024-03-19 17:07:54:025 [XCUITestDriver@3063 (ae14f0d2)] 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","newCommandTimeout":120,"deviceName":"iPhone XR","automationName":"XCUITest","wdaLaunchTimeout":120000,"udid":"00008020-000315A03E99002E","autoAcceptAlerts":true,"useNewWDA":false,"autoWebview":false,"prebuiltWDAPath":"/Users/***/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/appium_wda_ios","waitForQuiescence":false,"useNativeCachingStrategy":true,"systemPort":55994,"waitForIdleTimeout":30,"resetOnSessionStartOnly":false,"wdaConnectionTimeout":120000,"autoDismissAlerts":false,"clearSystemFiles":true,"useJSONSource":true,"wdaStartupRetries":2,"platformVersion":"iOS 17.4","bundleId":"com.XXX.develop","usePreinstalledWDA":false,"updatedWDABundleId":"com.XXX.WebDriverAgentRunner","noReset":true,"shouldUseSin... 2024-03-19 17:07:54:026 [HTTP] <-- POST /session 200 9289 ms - 1179 2024-03-19 17:07:54:026 [HTTP] 2024-03-19 17:07:54:070 [HTTP] --> POST /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/execute/sync 2024-03-19 17:07:54:070 [HTTP] {"script":"mobile: terminateApp","args":[{"bundleId":"com.XXX.develop","appId":"com.XXX.develop"}]} 2024-03-19 17:07:54:074 [XCUITestDriver@3063 (ae14f0d2)] Calling AppiumDriver.execute() with args: ["mobile: terminateApp",[{"bundleId":"com.XXX.develop","appId":"com.XXX.develop"}],"ae14f0d2-ff91-48e4-91d0-078b742fec23"] 2024-03-19 17:07:54:075 [XCUITestDriver@3063 (ae14f0d2)] Executing command 'execute' 2024-03-19 17:07:54:075 [BaseDriver] The following script arguments are not known and will be ignored: appId 2024-03-19 17:07:54:076 [XCUITestDriver@3063 (ae14f0d2)] Proxying [POST /wda/apps/terminate] to [POST http://127.0.0.1:8100/session/AF078FAE-04AD-4305-9F70-2F26E72B8379/wda/apps/terminate] with body: {"bundleId":"com.XXX.develop"} 2024-03-19 17:07:55:155 [XCUITestDriver@3063 (ae14f0d2)] Got response with status 200: {"value":true,"sessionId":"AF078FAE-04AD-4305-9F70-2F26E72B8379"} 2024-03-19 17:07:55:156 [XCUITestDriver@3063 (ae14f0d2)] Responding to client with driver.execute() result: true 2024-03-19 17:07:55:157 [HTTP] <-- POST /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/execute/sync 200 1086 ms - 14 2024-03-19 17:07:55:157 [HTTP] 2024-03-19 17:07:55:167 [HTTP] --> POST /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/execute/sync 2024-03-19 17:07:55:167 [HTTP] {"script":"mobile: activateApp","args":[{"bundleId":"com.XXX.develop","appId":"com.XXX.develop"}]} 2024-03-19 17:07:55:172 [XCUITestDriver@3063 (ae14f0d2)] Calling AppiumDriver.execute() with args: ["mobile: activateApp",[{"bundleId":"com.XXX.develop","appId":"com.XXX.develop"}],"ae14f0d2-ff91-48e4-91d0-078b742fec23"] 2024-03-19 17:07:55:172 [XCUITestDriver@3063 (ae14f0d2)] Executing command 'execute' 2024-03-19 17:07:55:172 [BaseDriver] The following script arguments are not known and will be ignored: appId 2024-03-19 17:07:55:174 [XCUITestDriver@3063 (ae14f0d2)] Proxying [POST /wda/apps/activate] to [POST http://127.0.0.1:8100/session/AF078FAE-04AD-4305-9F70-2F26E72B8379/wda/apps/activate] with body: {"bundleId":"com.XXX.develop"} 2024-03-19 17:07:56:125 [HTTP] --> GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/context 2024-03-19 17:07:56:125 [HTTP] {} 2024-03-19 17:07:56:125 [XCUITestDriver@3063 (ae14f0d2)] Calling AppiumDriver.getCurrentContext() with args: ["ae14f0d2-ff91-48e4-91d0-078b742fec23"] 2024-03-19 17:07:56:126 [XCUITestDriver@3063 (ae14f0d2)] Executing command 'getCurrentContext' 2024-03-19 17:08:00:251 [XCUITestDriver@3063 (ae14f0d2)] Got response with status 200: {"value":null,"sessionId":"AF078FAE-04AD-4305-9F70-2F26E72B8379"} 2024-03-19 17:08:00:252 [XCUITestDriver@3063 (ae14f0d2)] Responding to client with driver.execute() result: null 2024-03-19 17:08:00:253 [HTTP] <-- POST /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/execute/sync 200 5086 ms - 14 2024-03-19 17:08:00:253 [HTTP] 2024-03-19 17:08:00:254 [XCUITestDriver@3063 (ae14f0d2)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" 2024-03-19 17:08:00:254 [HTTP] <-- GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/context 200 4129 ms - 22 2024-03-19 17:08:00:254 [HTTP] 2024-03-19 17:08:00:261 [HTTP] --> POST /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/execute/sync 2024-03-19 17:08:00:261 [HTTP] {"script":"mobile: queryAppState","args":[{"appId":"com.XXX.develop","bundleId":"com.XXX.develop"}]} 2024-03-19 17:08:00:261 [XCUITestDriver@3063 (ae14f0d2)] Calling AppiumDriver.execute() with args: ["mobile: queryAppState",[{"appId":"com.XXX.develop","bundleId":"com.XXX.develop"}],"ae14f0d2-ff91-48e4-91d0-078b742fec23"] 2024-03-19 17:08:00:261 [XCUITestDriver@3063 (ae14f0d2)] Executing command 'execute' 2024-03-19 17:08:00:262 [BaseDriver] The following script arguments are not known and will be ignored: appId 2024-03-19 17:08:00:263 [XCUITestDriver@3063 (ae14f0d2)] Proxying [POST /wda/apps/state] to [POST http://127.0.0.1:8100/session/AF078FAE-04AD-4305-9F70-2F26E72B8379/wda/apps/state] with body: {"bundleId":"com.XXX.develop"} 2024-03-19 17:08:00:649 [XCUITestDriver@3063 (ae14f0d2)] Got response with status 200: {"value":4,"sessionId":"AF078FAE-04AD-4305-9F70-2F26E72B8379"} 2024-03-19 17:08:00:649 [XCUITestDriver@3063 (ae14f0d2)] Responding to client with driver.execute() result: 4 2024-03-19 17:08:00:650 [HTTP] <-- POST /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/execute/sync 200 389 ms - 11 2024-03-19 17:08:00:650 [HTTP] 2024-03-19 17:08:05:265 [HTTP] --> GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/context 2024-03-19 17:08:05:265 [HTTP] {} 2024-03-19 17:08:05:265 [XCUITestDriver@3063 (ae14f0d2)] Calling AppiumDriver.getCurrentContext() with args: ["ae14f0d2-ff91-48e4-91d0-078b742fec23"] 2024-03-19 17:08:05:265 [XCUITestDriver@3063 (ae14f0d2)] Executing command 'getCurrentContext' 2024-03-19 17:08:05:266 [XCUITestDriver@3063 (ae14f0d2)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" 2024-03-19 17:08:05:266 [HTTP] <-- GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/context 200 2 ms - 22 2024-03-19 17:08:05:266 [HTTP] 2024-03-19 17:08:10:275 [HTTP] --> GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/context 2024-03-19 17:08:10:275 [HTTP] {} 2024-03-19 17:08:10:275 [XCUITestDriver@3063 (ae14f0d2)] Calling AppiumDriver.getCurrentContext() with args: ["ae14f0d2-ff91-48e4-91d0-078b742fec23"] 2024-03-19 17:08:10:276 [XCUITestDriver@3063 (ae14f0d2)] Executing command 'getCurrentContext' 2024-03-19 17:08:10:277 [XCUITestDriver@3063 (ae14f0d2)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" 2024-03-19 17:08:10:279 [HTTP] <-- GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/context 200 3 ms - 22 2024-03-19 17:08:10:279 [HTTP] 2024-03-19 17:08:15:286 [HTTP] --> GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/context 2024-03-19 17:08:15:286 [HTTP] {} 2024-03-19 17:08:15:286 [XCUITestDriver@3063 (ae14f0d2)] Calling AppiumDriver.getCurrentContext() with args: ["ae14f0d2-ff91-48e4-91d0-078b742fec23"] 2024-03-19 17:08:15:286 [XCUITestDriver@3063 (ae14f0d2)] Executing command 'getCurrentContext' 2024-03-19 17:08:15:287 [XCUITestDriver@3063 (ae14f0d2)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" 2024-03-19 17:08:15:287 [HTTP] <-- GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/context 200 1 ms - 22 2024-03-19 17:08:15:287 [HTTP] 2024-03-19 17:08:16:478 [HTTP] --> GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/context 2024-03-19 17:08:16:478 [HTTP] {} 2024-03-19 17:08:16:478 [XCUITestDriver@3063 (ae14f0d2)] Calling AppiumDriver.getCurrentContext() with args: ["ae14f0d2-ff91-48e4-91d0-078b742fec23"] 2024-03-19 17:08:16:478 [XCUITestDriver@3063 (ae14f0d2)] Executing command 'getCurrentContext' 2024-03-19 17:08:16:479 [XCUITestDriver@3063 (ae14f0d2)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" 2024-03-19 17:08:16:479 [HTTP] <-- GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/context 200 1 ms - 22 2024-03-19 17:08:16:479 [HTTP] 2024-03-19 17:08:16:482 [HTTP] --> POST /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/elements 2024-03-19 17:08:16:482 [HTTP] {"using":"-ios class chain","value":"**/XCUIElementTypeCollectionView[`name == 'home_dashboard_collection_view'`]/XCUIElementTypeCell[2]/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeCollectionView/XCUIElementTypeCell"} 2024-03-19 17:08:16:483 [XCUITestDriver@3063 (ae14f0d2)] Calling AppiumDriver.findElements() with args: ["-ios class chain","**/XCUIElementTypeCollectionView[`name == 'home_dashboard_collection_view'`]/XCUIElementTypeCell[2]/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeCollectionView/XCUIElementTypeCell","ae14f0d2-ff91-48e4-91d0-078b742fec23"] 2024-03-19 17:08:16:483 [XCUITestDriver@3063 (ae14f0d2)] Executing command 'findElements' 2024-03-19 17:08:16:483 [XCUITestDriver@3063 (ae14f0d2)] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id, css selector 2024-03-19 17:08:16:483 [XCUITestDriver@3063 (ae14f0d2)] Waiting up to 0 ms for condition 2024-03-19 17:08:16:484 [XCUITestDriver@3063 (ae14f0d2)] Matched '/elements' to command name 'findElements' 2024-03-19 17:08:16:484 [XCUITestDriver@3063 (ae14f0d2)] Proxying [POST /elements] to [POST http://127.0.0.1:8100/session/AF078FAE-04AD-4305-9F70-2F26E72B8379/elements] with body: {"using":"class chain","value":"**/XCUIElementTypeCollectionView[`name == 'home_dashboard_collection_view'`]/XCUIElementTypeCell[2]/XCUIElementTypeOther/XCUIElementTypeOther/XCUIElementTypeCollectionView/XCUIElementTypeCell"} 2024-03-19 17:08:19:929 [XCUITestDriver@3063 (ae14f0d2)] Got response with status 200: {"value":[{"ELEMENT":"4B000000-0000-0000-A203-000000000000","element-6066-11e4-a52e-4f735466cecf":"4B000000-0000-0000-A203-000000000000"},{"ELEMENT":"4C000000-0000-0000-A203-000000000000","element-6066-11e4-a52e-4f735466cecf":"4C000000-0000-0000-A203-000000000000"},{"ELEMENT":"4D000000-0000-0000-A203-000000000000","element-6066-11e4-a52e-4f735466cecf":"4D000000-0000-0000-A203-000000000000"},{"ELEMENT":"4E000000-0000-0000-A203-000000000000","element-6066-11e4-a52e-4f735466cecf":"4E000000-0000-0000-A203-000000000000"},{"ELEMENT":"4F000000-0000-0000-A203-000000000000","element-6066-11e4-a52e-4f735466cecf":"4F000000-0000-0000-A203-000000000000"},{"ELEMENT":"50000000-0000-0000-A203-000000000000","element-6066-11e4-a52e-4f735466cecf":"50000000-0000-0000-A203-000000000000"},{"ELEMENT":"51000000-0000-0000-A203-000000000000","element-6066-11e4-a52e-4f735466cecf":"51000000-0000-0000-A203-000000000000"},{"ELEMENT":"52000000-0000-0000-A203-000000000000","element-6066-11e4-a52e-4f735466cecf":"52000000-0000-0000-A203-00... 2024-03-19 17:08:19:930 [XCUITestDriver@3063 (ae14f0d2)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"4B000000-0000-0000-A203-000000000000","ELEMENT":"4B000000-0000-0000-A203-000000000000"},{"element-6066-11e4-a52e-4f735466cecf":"4C000000-0000-0000-A203-000000000000","ELEMENT":"4C000000-0000-0000-A203-000000000000"},{"element-6066-11e4-a52e-4f735466cecf":"4D000000-0000-0000-A203-000000000000","ELEMENT":"4D000000-0000-0000-A203-000000000000"},{"element-6066-11e4-a52e-4f735466cecf":"4E000000-0000-0000-A203-000000000000","ELEMENT":"4E000000-0000-0000-A203-000000000000"},{"element-6066-11e4-a52e-4f735466cecf":"4F000000-0000-0000-A203-000000000000","ELEMENT":"4F000000-0000-0000-A203-000000000000"},{"element-6066-11e4-a52e-4f735466cecf":"50000000-0000-0000-A203-000000000000","ELEMENT":"50000000-0000-0000-A203-000000000000"},{"element-6066-11e4-a52e-4f735466cecf":"51000000-0000-0000-A203-000000000000","ELEMENT":"51000000-0000-0000-A203-000000000000"},{"element-6066-11e4-a52e-4f735466cecf":"52000000-0000-0000-A203-000000000000","ELEMENT":"52000000-0000-0000-A203-00000000000... 2024-03-19 17:08:19:931 [HTTP] <-- POST /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/elements 200 3448 ms - 1163 2024-03-19 17:08:19:931 [HTTP] 2024-03-19 17:08:20:294 [HTTP] --> GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/context 2024-03-19 17:08:20:294 [HTTP] {} 2024-03-19 17:08:20:295 [XCUITestDriver@3063 (ae14f0d2)] Calling AppiumDriver.getCurrentContext() with args: ["ae14f0d2-ff91-48e4-91d0-078b742fec23"] 2024-03-19 17:08:20:295 [XCUITestDriver@3063 (ae14f0d2)] Executing command 'getCurrentContext' 2024-03-19 17:08:20:295 [XCUITestDriver@3063 (ae14f0d2)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" 2024-03-19 17:08:20:295 [HTTP] <-- GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/context 200 1 ms - 22 2024-03-19 17:08:20:295 [HTTP] 2024-03-19 17:08:20:534 [HTTP] --> POST /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/execute/sync 2024-03-19 17:08:20:534 [HTTP] {"script":"mobile: terminateApp","args":[{"bundleId":"com.XXX.develop","appId":"com.XXX.develop"}]} 2024-03-19 17:08:20:534 [XCUITestDriver@3063 (ae14f0d2)] Calling AppiumDriver.execute() with args: ["mobile: terminateApp",[{"bundleId":"com.XXX.develop","appId":"com.XXX.develop"}],"ae14f0d2-ff91-48e4-91d0-078b742fec23"] 2024-03-19 17:08:20:534 [XCUITestDriver@3063 (ae14f0d2)] Executing command 'execute' 2024-03-19 17:08:20:534 [BaseDriver] The following script arguments are not known and will be ignored: appId 2024-03-19 17:08:20:538 [XCUITestDriver@3063 (ae14f0d2)] Proxying [POST /wda/apps/terminate] to [POST http://127.0.0.1:8100/session/AF078FAE-04AD-4305-9F70-2F26E72B8379/wda/apps/terminate] with body: {"bundleId":"com.XXX.develop"} 2024-03-19 17:08:21:587 [XCUITestDriver@3063 (ae14f0d2)] Got response with status 200: {"value":true,"sessionId":"AF078FAE-04AD-4305-9F70-2F26E72B8379"} 2024-03-19 17:08:21:588 [XCUITestDriver@3063 (ae14f0d2)] Responding to client with driver.execute() result: true 2024-03-19 17:08:21:589 [HTTP] <-- POST /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/execute/sync 200 1055 ms - 14 2024-03-19 17:08:21:589 [HTTP] 2024-03-19 17:08:21:593 [HTTP] --> POST /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/execute/sync 2024-03-19 17:08:21:593 [HTTP] {"script":"mobile: activateApp","args":[{"bundleId":"com.XXX.develop","appId":"com.XXX.develop"}]} 2024-03-19 17:08:21:593 [XCUITestDriver@3063 (ae14f0d2)] Calling AppiumDriver.execute() with args: ["mobile: activateApp",[{"bundleId":"com.XXX.develop","appId":"com.XXX.develop"}],"ae14f0d2-ff91-48e4-91d0-078b742fec23"] 2024-03-19 17:08:21:593 [XCUITestDriver@3063 (ae14f0d2)] Executing command 'execute' 2024-03-19 17:08:21:594 [BaseDriver] The following script arguments are not known and will be ignored: appId 2024-03-19 17:08:21:595 [XCUITestDriver@3063 (ae14f0d2)] Proxying [POST /wda/apps/activate] to [POST http://127.0.0.1:8100/session/AF078FAE-04AD-4305-9F70-2F26E72B8379/wda/apps/activate] with body: {"bundleId":"com.XXX.develop"} 2024-03-19 17:08:25:305 [HTTP] --> GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/context 2024-03-19 17:08:25:305 [HTTP] {} 2024-03-19 17:08:25:305 [XCUITestDriver@3063 (ae14f0d2)] Calling AppiumDriver.getCurrentContext() with args: ["ae14f0d2-ff91-48e4-91d0-078b742fec23"] 2024-03-19 17:08:25:305 [XCUITestDriver@3063 (ae14f0d2)] Executing command 'getCurrentContext' 2024-03-19 17:08:26:546 [XCUITestDriver@3063 (ae14f0d2)] Got response with status 200: {"value":null,"sessionId":"AF078FAE-04AD-4305-9F70-2F26E72B8379"} 2024-03-19 17:08:26:546 [XCUITestDriver@3063 (ae14f0d2)] Responding to client with driver.execute() result: null 2024-03-19 17:08:26:547 [HTTP] <-- POST /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/execute/sync 200 4954 ms - 14 2024-03-19 17:08:26:547 [HTTP] 2024-03-19 17:08:26:548 [XCUITestDriver@3063 (ae14f0d2)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" 2024-03-19 17:08:26:548 [HTTP] <-- GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/context 200 1243 ms - 22 2024-03-19 17:08:26:548 [HTTP] 2024-03-19 17:08:26:553 [HTTP] --> POST /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/execute/sync 2024-03-19 17:08:26:553 [HTTP] {"script":"mobile: queryAppState","args":[{"appId":"com.XXX.develop","bundleId":"com.XXX.develop"}]} 2024-03-19 17:08:26:553 [XCUITestDriver@3063 (ae14f0d2)] Calling AppiumDriver.execute() with args: ["mobile: queryAppState",[{"appId":"com.XXX.develop","bundleId":"com.XXX.develop"}],"ae14f0d2-ff91-48e4-91d0-078b742fec23"] 2024-03-19 17:08:26:553 [XCUITestDriver@3063 (ae14f0d2)] Executing command 'execute' 2024-03-19 17:08:26:553 [BaseDriver] The following script arguments are not known and will be ignored: appId 2024-03-19 17:08:26:555 [XCUITestDriver@3063 (ae14f0d2)] Proxying [POST /wda/apps/state] to [POST http://127.0.0.1:8100/session/AF078FAE-04AD-4305-9F70-2F26E72B8379/wda/apps/state] with body: {"bundleId":"com.XXX.develop"} 2024-03-19 17:08:26:943 [XCUITestDriver@3063 (ae14f0d2)] Got response with status 200: {"value":4,"sessionId":"AF078FAE-04AD-4305-9F70-2F26E72B8379"} 2024-03-19 17:08:26:944 [XCUITestDriver@3063 (ae14f0d2)] Responding to client with driver.execute() result: 4 2024-03-19 17:08:26:945 [HTTP] <-- POST /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/execute/sync 200 392 ms - 11 2024-03-19 17:08:26:945 [HTTP] 2024-03-19 17:08:26:954 [HTTP] --> GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/context 2024-03-19 17:08:26:954 [HTTP] {} 2024-03-19 17:08:26:955 [XCUITestDriver@3063 (ae14f0d2)] Calling AppiumDriver.getCurrentContext() with args: ["ae14f0d2-ff91-48e4-91d0-078b742fec23"] 2024-03-19 17:08:26:955 [XCUITestDriver@3063 (ae14f0d2)] Executing command 'getCurrentContext' 2024-03-19 17:08:26:955 [XCUITestDriver@3063 (ae14f0d2)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" 2024-03-19 17:08:26:956 [HTTP] <-- GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/context 200 1 ms - 22 2024-03-19 17:08:26:956 [HTTP] 2024-03-19 17:08:26:960 [HTTP] --> POST /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/element 2024-03-19 17:08:26:960 [HTTP] {"using":"id","value":"home_profile_button"} 2024-03-19 17:08:26:960 [XCUITestDriver@3063 (ae14f0d2)] Calling AppiumDriver.findElement() with args: ["id","home_profile_button","ae14f0d2-ff91-48e4-91d0-078b742fec23"] 2024-03-19 17:08:26:960 [XCUITestDriver@3063 (ae14f0d2)] Executing command 'findElement' 2024-03-19 17:08:26:960 [XCUITestDriver@3063 (ae14f0d2)] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id, css selector 2024-03-19 17:08:26:960 [XCUITestDriver@3063 (ae14f0d2)] Waiting up to 0 ms for condition 2024-03-19 17:08:26:961 [XCUITestDriver@3063 (ae14f0d2)] Matched '/element' to command name 'findElement' 2024-03-19 17:08:26:961 [XCUITestDriver@3063 (ae14f0d2)] Proxying [POST /element] to [POST http://127.0.0.1:8100/session/AF078FAE-04AD-4305-9F70-2F26E72B8379/element] with body: {"using":"id","value":"home_profile_button"} 2024-03-19 17:08:27:614 [XCUITestDriver@3063 (ae14f0d2)] Got response with status 200: {"value":{"ELEMENT":"12000000-0000-0000-A603-000000000000","element-6066-11e4-a52e-4f735466cecf":"12000000-0000-0000-A603-000000000000"},"sessionId":"AF078FAE-04AD-4305-9F70-2F26E72B8379"} 2024-03-19 17:08:27:614 [XCUITestDriver@3063 (ae14f0d2)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"12000000-0000-0000-A603-000000000000","ELEMENT":"12000000-0000-0000-A603-000000000000"} 2024-03-19 17:08:27:615 [HTTP] <-- POST /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/element 200 655 ms - 137 2024-03-19 17:08:27:615 [HTTP] 2024-03-19 17:08:27:619 [HTTP] --> GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/element/12000000-0000-0000-A603-000000000000/displayed 2024-03-19 17:08:27:620 [HTTP] {} 2024-03-19 17:08:27:620 [XCUITestDriver@3063 (ae14f0d2)] Driver proxy active, passing request on via HTTP proxy 2024-03-19 17:08:27:620 [XCUITestDriver@3063 (ae14f0d2)] Executing command 'proxyReqRes' 2024-03-19 17:08:27:621 [XCUITestDriver@3063 (ae14f0d2)] Matched '/session/ae14f0d2-ff91-48e4-91d0-078b742fec23/element/12000000-0000-0000-A603-000000000000/displayed' to command name 'elementDisplayed' 2024-03-19 17:08:27:621 [XCUITestDriver@3063 (ae14f0d2)] Proxying [GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/element/12000000-0000-0000-A603-000000000000/displayed] to [GET http://127.0.0.1:8100/session/AF078FAE-04AD-4305-9F70-2F26E72B8379/element/12000000-0000-0000-A603-000000000000/displayed] with no body 2024-03-19 17:08:27:995 [XCUITestDriver@3063 (ae14f0d2)] Got response with status 200: {"value":true,"sessionId":"AF078FAE-04AD-4305-9F70-2F26E72B8379"} 2024-03-19 17:08:27:996 [XCUITestDriver@3063 (ae14f0d2)] Replacing sessionId AF078FAE-04AD-4305-9F70-2F26E72B8379 with ae14f0d2-ff91-48e4-91d0-078b742fec23 2024-03-19 17:08:27:997 [HTTP] <-- GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/element/12000000-0000-0000-A603-000000000000/displayed 200 377 ms - 65 2024-03-19 17:08:27:997 [HTTP] 2024-03-19 17:08:28:002 [HTTP] --> POST /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/location 2024-03-19 17:08:28:002 [HTTP] {"location":{"class":"com.google.common.collect.ImmutableMap$Builder"}} 2024-03-19 17:08:28:003 [XCUITestDriver@3063 (ae14f0d2)] Calling AppiumDriver.setGeoLocation() with args: [{"class":"com.google.common.collect.ImmutableMap$Builder"},"ae14f0d2-ff91-48e4-91d0-078b742fec23"] 2024-03-19 17:08:28:003 [XCUITestDriver@3063 (ae14f0d2)] Executing command 'setGeoLocation' 2024-03-19 17:08:28:040 [XCUITestDriver@3063 (ae14f0d2)] Encountered internal error running command: InvalidArgumentError: Both latitude and longitude should be set 2024-03-19 17:08:28:040 [XCUITestDriver@3063 (ae14f0d2)] at XCUITestDriver.setGeoLocation (/Users/***/.appium/node_modules/appium-xcuitest-driver/lib/commands/location.js:76:13) 2024-03-19 17:08:28:040 [XCUITestDriver@3063 (ae14f0d2)] at commandExecutor (/opt/homebrew/lib/node_modules/appium/node_modules/@appium/base-driver/lib/basedriver/driver.ts:106:18) 2024-03-19 17:08:28:041 [XCUITestDriver@3063 (ae14f0d2)] at /opt/homebrew/lib/node_modules/appium/node_modules/async-lock/lib/index.js:171:12 2024-03-19 17:08:28:041 [XCUITestDriver@3063 (ae14f0d2)] at AsyncLock._promiseTry (/opt/homebrew/lib/node_modules/appium/node_modules/async-lock/lib/index.js:306:31) 2024-03-19 17:08:28:041 [XCUITestDriver@3063 (ae14f0d2)] at exec (/opt/homebrew/lib/node_modules/appium/node_modules/async-lock/lib/index.js:170:9) 2024-03-19 17:08:28:041 [XCUITestDriver@3063 (ae14f0d2)] at AsyncLock.acquire (/opt/homebrew/lib/node_modules/appium/node_modules/async-lock/lib/index.js:189:3) 2024-03-19 17:08:28:041 [XCUITestDriver@3063 (ae14f0d2)] at XCUITestDriver.executeCommand (/opt/homebrew/lib/node_modules/appium/node_modules/@appium/base-driver/lib/basedriver/driver.ts:122:39) 2024-03-19 17:08:28:041 [XCUITestDriver@3063 (ae14f0d2)] at processTicksAndRejections (node:internal/process/task_queues:95:5) 2024-03-19 17:08:28:041 [XCUITestDriver@3063 (ae14f0d2)] at XCUITestDriver.executeCommand (/Users/***/.appium/node_modules/appium-xcuitest-driver/lib/driver.js:1058:12) 2024-03-19 17:08:28:041 [XCUITestDriver@3063 (ae14f0d2)] at defaultBehavior (/opt/homebrew/lib/node_modules/appium/lib/appium.js:1109:14) 2024-03-19 17:08:28:041 [XCUITestDriver@3063 (ae14f0d2)] at AppiumDriver.executeWrappedCommand (/opt/homebrew/lib/node_modules/appium/lib/appium.js:1215:16) 2024-03-19 17:08:28:041 [XCUITestDriver@3063 (ae14f0d2)] at AppiumDriver.executeCommand (/opt/homebrew/lib/node_modules/appium/lib/appium.js:1121:17) 2024-03-19 17:08:28:041 [XCUITestDriver@3063 (ae14f0d2)] at asyncHandler (/opt/homebrew/lib/node_modules/appium/node_modules/@appium/base-driver/lib/protocol/protocol.js:393:19) 2024-03-19 17:08:28:041 [HTTP] <-- POST /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/location 400 39 ms - 1607 2024-03-19 17:08:28:041 [HTTP] 2024-03-19 17:08:28:056 [HTTP] --> GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/source 2024-03-19 17:08:28:056 [HTTP] {} 2024-03-19 17:08:28:056 [XCUITestDriver@3063 (ae14f0d2)] Calling AppiumDriver.getPageSource() with args: ["ae14f0d2-ff91-48e4-91d0-078b742fec23"] 2024-03-19 17:08:28:056 [XCUITestDriver@3063 (ae14f0d2)] Executing command 'getPageSource' 2024-03-19 17:08:28:057 [XCUITestDriver@3063 (ae14f0d2)] Matched '/source?format=json&scope=AppiumAUT' to command name 'getPageSource' 2024-03-19 17:08:28:057 [XCUITestDriver@3063 (ae14f0d2)] Proxying [GET /source?format=json&scope=AppiumAUT] to [GET http://127.0.0.1:8100/session/AF078FAE-04AD-4305-9F70-2F26E72B8379/source?format=json&scope=AppiumAUT] with no body 2024-03-19 17:08:31:554 [HTTP] --> GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/context 2024-03-19 17:08:31:554 [HTTP] {} 2024-03-19 17:08:31:555 [XCUITestDriver@3063 (ae14f0d2)] Calling AppiumDriver.getCurrentContext() with args: ["ae14f0d2-ff91-48e4-91d0-078b742fec23"] 2024-03-19 17:08:31:555 [XCUITestDriver@3063 (ae14f0d2)] Executing command 'getCurrentContext' 2024-03-19 17:08:35:938 [XCUITestDriver@3063 (ae14f0d2)] Got response with status 200: {"value":{"label":"Gojek Integration","rawIdentifier":null,"frame":"{{0, 0}, {414, 896}}","isVisible":"1","type":"Application","value":null,"isEnabled":"1","children":[{"label":null,"rawIdentifier":"gojek_app_window","frame":"{{0, 0}, {414, 896}}","isVisible":"1","type":"Window","value":null,"isEnabled":"1","children":[{"label":null,"rawIdentifier":null,"frame":"{{0, 0}, {414, 896}}","isVisible":"1","type":"Other","value":null,"isEnabled":"1","children":[{"label":null,"rawIdentifier":null,"frame":"{{0, 0}, {414, 896}}","isVisible":"1","type":"Other","value":null,"isEnabled":"1","children":[{"label":null,"rawIdentifier":null,"frame":"{{0, 0}, {414, 896}}","isVisible":"1","type":"Other","value":null,"isEnabled":"1","children":[{"label":null,"rawIdentifier":"HomeSkeleton.SkeletonThemeableTabBar","frame":"{{0, 48}, {414, 44}}","isVisible":"1","type":"NavigationBar","value":null,"isEnabled":"1","children":[{"label":null,"rawIdentifier":"tab_header_view","frame":"{{20, 48}, {374, 44}}","isVisible":"1","type":"Ot... 2024-03-19 17:08:35:948 [XCUITestDriver@3063 (ae14f0d2)] Responding to client with driver.getPageSource() result: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<AppiumAUT>\n <XCUIElementTypeApplication type=\"XCUIElementTypeApplication\" enabled=\"true\" visible=\"true\" x=\"0\" y=\"0\" width=\"414\" height=\"896\" name=\"Gojek Integration\" label=\"Gojek Integration\">\n <XCUIElementTypeWindow type=\"XCUIElementTypeWindow\" enabled=\"true\" visible=\"true\" x=\"0\" y=\"0\" width=\"414\" height=\"896\" name=\"gojek_app_window\">\n <XCUIElementTypeOther type=\"XCUIElementTypeOther\" enabled=\"true\" visible=\"true\" x=\"0\" y=\"0\" width=\"414\" height=\"896\">\n <XCUIElementTypeOther type=\"XCUIElementTypeOther\" enabled=\"true\" visible=\"true\" x=\"0\" y=\"0\" width=\"414\" height=\"896\">\n <XCUIElementTypeOther type=\"XCUIElementTypeOther\" enabled=\"true\" visible=\"true\" x=\"0\" y=\"0\" width=\"414\" height=\"896\">\n <XCUIElementTypeNavigationBar type=\"XCUIElementTypeNavigationBar\" enabled=\"true\" visible=\"true\" x=\"0\" y=\"48\" width=\"414\" height=\"44\" name=\"HomeSke... 2024-03-19 17:08:35:949 [HTTP] <-- GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/source 200 7893 ms - 76392 2024-03-19 17:08:35:949 [HTTP] 2024-03-19 17:08:35:950 [XCUITestDriver@3063 (ae14f0d2)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" 2024-03-19 17:08:35:951 [HTTP] <-- GET /session/ae14f0d2-ff91-48e4-91d0-078b742fec23/context 200 4397 ms - 22 2024-03-19 17:08:35:951 [HTTP] 2024-03-19 17:08:35:967 [HTTP] --> DELETE /session/ae14f0d2-ff91-48e4-91d0-078b742fec23 2024-03-19 17:08:35:967 [HTTP] {} 2024-03-19 17:08:35:967 [XCUITestDriver@3063 (ae14f0d2)] Calling AppiumDriver.deleteSession() with args: ["ae14f0d2-ff91-48e4-91d0-078b742fec23"] 2024-03-19 17:08:35:967 [AppiumDriver@ddfa] Event 'quitSessionRequested' logged at 1710868115967 (22:38:35 GMT+0530 (India Standard Time)) 2024-03-19 17:08:35:967 [AppiumDriver@ddfa] Removing session ae14f0d2-ff91-48e4-91d0-078b742fec23 from our master session list 2024-03-19 17:08:35:968 [XCUITestDriver@3063 (ae14f0d2)] Matched '/session/ae14f0d2-ff91-48e4-91d0-078b742fec23' to command name 'deleteSession' 2024-03-19 17:08:35:968 [XCUITestDriver@3063 (ae14f0d2)] Proxying [DELETE /session/ae14f0d2-ff91-48e4-91d0-078b742fec23] to [DELETE http://127.0.0.1:8100/session/AF078FAE-04AD-4305-9F70-2F26E72B8379] with no body 2024-03-19 17:08:36:211 [XCUITestDriver@3063 (ae14f0d2)] Got response with status 200: {"value":null,"sessionId":null} 2024-03-19 17:08:36:212 [DevCon Factory] Releasing connections for 00008020-000315A03XXX2E device on any port number 2024-03-19 17:08:36:212 [DevCon Factory] Found cached connections to release: ["00008020-000315A03E99002E:8100"] 2024-03-19 17:08:36:212 [DevCon Factory] Releasing the listener for '00008020-000315A03E99002E:8100' 2024-03-19 17:08:36:212 [iProxy@00008020:8100] Closing the connection 2024-03-19 17:08:36:212 [DevCon Factory] Cached connections count: 0 2024-03-19 17:08:36:220 [XCUITest] Did not find the temporary XCTest logs root at '/var/folders/3c/fzdrgfss3cz49g3b6jnyyzv40000gp/T/com.apple.dt.XCTest*/' 2024-03-19 17:08:36:220 [XCUITest] Cleaning test logs in '/Users/***/Library/Developer/Xcode/DerivedData/WebDriverAgent-bwosapqmvynrmncnkwkvpkijacdv/Logs' folder 2024-03-19 17:08:36:220 [XCUITest] Clearing log files 2024-03-19 17:08:36:243 [XCUITest] Deleting '/Users/***/Library/Developer/Xcode/DerivedData/WebDriverAgent-bwosapqmvynrmncnkwkvpkijacdv/Logs'. Freeing 20K. 2024-03-19 17:08:36:248 [XCUITest] Finished clearing log files 2024-03-19 17:08:36:248 [XCUITestDriver@3063 (ae14f0d2)] Event 'resetStarted' logged at 1710868116248 (22:38:36 GMT+0530 (India Standard Time)) 2024-03-19 17:08:36:248 [XCUITest] Reset: fullReset not set. Leaving as is 2024-03-19 17:08:36:248 [XCUITestDriver@3063 (ae14f0d2)] Event 'resetComplete' logged at 1710868116248 (22:38:36 GMT+0530 (India Standard Time)) 2024-03-19 17:08:36:249 [AppiumDriver@ddfa] Event 'quitSessionFinished' logged at 1710868116249 (22:38:36 GMT+0530 (India Standard Time)) 2024-03-19 17:08:36:249 [AppiumDriver@ddfa] Received response: null 2024-03-19 17:08:36:249 [AppiumDriver@ddfa] But deleting session, so not returning 2024-03-19 17:08:36:249 [AppiumDriver@ddfa] Responding to client with driver.deleteSession() result: null 2024-03-19 17:08:36:250 [HTTP] <-- DELETE /session/ae14f0d2-ff91-48e4-91d0-078b742fec23 200 283 ms - 14 2024-03-19 17:08:36:250 [HTTP] 2024-03-19 17:08:36:261 [Appium] Received SIGTERM - shutting down 2024-03-19 17:08:36:261 [AppiumDriver@ddfa] There are no active sessions for cleanup

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions