Appium not showing web_view context in my hybrid IOS app

Guys thanks for your answer,
I got an application. Firstly application starting with native app and then on some pages we need to switch web_view because those pages are not native, I trying this code,
Set contextNames = driver.getContextHandles();
for (String contextName : contextNames) {
System.out.println(contextName); //prints out something like NATIVE_APP \n WEBVIEW_1
}
driver.context(contextNames.toArray()[1]); // set context to WEBVIEW_1

but it only gives me nativeapp as an option, do I need some capabilities? I working with XCODE btw.

step number one: Can you inspect your webView with Safari? (phone connected to mac, check on phone in safari setting that WebDebugger enabled).

need I use real device for that? Ok I switched to webview but now I cant do nothing No click No sendkeys java giving No such element Exception Appium Server Logs are here.

[BaseDriver] Waited for 3096 ms so far
[WD Proxy] Matched ‘/elements’ to command name ‘findElements’
[WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8100/session/86CBF167-CB0A-4F82-8478-D210D072B2CA/elements] with body: {“using”:“xpath”,“value”:"//XCUIElementTypeButton[contains(@name,‘Rezervasyon Yap’)]"}
[RemoteDebugger] Page changed: {
[RemoteDebugger] “5”: {
[RemoteDebugger] “WIRTitleKey”: “”,
[RemoteDebugger] “WIRTypeKey”: “WIRTypePage”,
[RemoteDebugger] “WIRURLKey”: “applewebdata://36C60362-7E43-4137-BD21-9B0D1F0E7FEB”,
[RemoteDebugger] “WIRPageIdentifierKey”: 5
[RemoteDebugger] },
[RemoteDebugger] “6”: {
[RemoteDebugger] “WIRTitleKey”: “”,
[RemoteDebugger] “WIRTypeKey”: “WIRTypeWebPage”,
[RemoteDebugger] “WIRURLKey”: “about:blank”,
[RemoteDebugger] “WIRPageIdentifierKey”: 6
[RemoteDebugger] }
[RemoteDebugger] }
[XCUITest] Remote debugger notified us of a new page listing: {“appIdKey”:“97058”,“pageArray”:[{“id”:5,“title”:"",“url”:“applewebdata://36C60362-7E43-4137-BD21-9B0D1F0E7FEB”,“isKey”:false},{“id”:6,“title”:"",“url”:“about:blank”,“isKey”:false}]}
[XCUITest] No key id found. Choosing first id from page array
[XCUITest] We do not appear to have window set yet, ignoring
[WD Proxy] Got response with status 200: {“value”:[],“sessionId”:“86CBF167-CB0A-4F82-8478-D210D072B2CA”}
[BaseDriver] Waited for 4089 ms so far
[RemoteDebugger] Page changed: {
[RemoteDebugger] “5”: {
[RemoteDebugger] “WIRTitleKey”: “”,
[RemoteDebugger] “WIRTypeKey”: “WIRTypePage”,
[RemoteDebugger] “WIRURLKey”: “applewebdata://36C60362-7E43-4137-BD21-9B0D1F0E7FEB”,
[RemoteDebugger] “WIRPageIdentifierKey”: 5
[RemoteDebugger] },
[RemoteDebugger] “6”: {
[RemoteDebugger] “WIRTitleKey”: “Ödeme ve Taksit Seçenekleri - Enuygun.com”,
[RemoteDebugger] “WIRTypeKey”: “WIRTypeWebPage”,
[RemoteDebugger] “WIRURLKey”: “&isMobileApp=1”,
[RemoteDebugger] “WIRPageIdentifierKey”: 6
[RemoteDebugger] }
[RemoteDebugger] }
[XCUITest] Remote debugger notified us of a new page listing: {“appIdKey”:“97058”,“pageArray”:[{“id”:5,“title”:"",“url”:“applewebdata://36C60362-7E43-4137-BD21-9B0D1F0E7FEB”,“isKey”:false},{“id”:6,“title”:“Ödeme ve Taksit Seçenekleri - Enuygun.com”,“url”:"&isMobileApp=1",“isKey”:false}]}
[XCUITest] No key id found. Choosing first id from page array
[XCUITest] We do not appear to have window set yet, ignoring
[WD Proxy] Matched ‘/elements’ to command name ‘findElements’
[WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8100/session/86CBF167-CB0A-4F82-8478-D210D072B2CA/elements] with body: {“using”:“xpath”,“value”:"//XCUIElementTypeButton[contains(@name,‘Rezervasyon Yap’)]"}
[WD Proxy] Got response with status 200: {“value”:[],“sessionId”:“86CBF167-CB0A-4F82-8478-D210D072B2CA”}
[BaseDriver] Waited for 4727 ms so far
[WD Proxy] Matched ‘/elements’ to command name ‘findElements’
[WD Proxy] Proxying [POST /elements] to [POST http://127.0.0.1:8100/session/86CBF167-CB0A-4F82-8478-D210D072B2CA/elements] with body: {“using”:“xpath”,“value”:"//XCUIElementTypeButton[contains(@name,‘Rezervasyon Yap’)]"}
[WD Proxy] Got response with status 200: {“value”:[{“ELEMENT”:“3C000000-0000-0000-367B-010000000000”,“element-6066-11e4-a52e-4f735466cecf”:“3C000000-0000-0000-367B-010000000000”}],“sessionId”:“86CBF167-CB0A-4F82-8478-D210D072B2CA”}
[W3C (03e3ee52)] Responding to client with driver.findElements() result: [{“element-6066-11e4-a52e-4f735466cecf”:“3C000000-0000-0000-367B-010000000000”,“ELEMENT”:“3C000000-0000-0000-367B-010000000000”}]
[HTTP] <-- POST /wd/hub/session/03e3ee52-c95e-4fa6-8b0f-6593e407f47f/elements 200 6084 ms - 139
[HTTP]
[HTTP] --> POST /wd/hub/session/03e3ee52-c95e-4fa6-8b0f-6593e407f47f/timeouts
[HTTP] {“implicit”:10000}
[W3C (03e3ee52)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,10000,“03e3ee52-c95e-4fa6-8b0f-6593e407f47f”]
[XCUITest] Executing command ‘timeouts’
[BaseDriver] W3C timeout argument: {“implicit”:10000}}
[BaseDriver] Set implicit wait to 10000ms
[W3C (03e3ee52)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/03e3ee52-c95e-4fa6-8b0f-6593e407f47f/timeouts 200 2 ms - 14
[HTTP]
[HTTP] --> GET /wd/hub/session/03e3ee52-c95e-4fa6-8b0f-6593e407f47f/contexts
[HTTP] {}
[W3C (03e3ee52)] Calling AppiumDriver.getContexts() with args: [“03e3ee52-c95e-4fa6-8b0f-6593e407f47f”]
[XCUITest] Executing command ‘getContexts’
[XCUITest] Getting list of available contexts
[XCUITest] Retrieving contexts and views
[XCUITest] Selecting by url: false
[RemoteDebugger] Selecting application
[RemoteDebugger] Current applications available:
[RemoteDebugger] Application: “PID:97058”
[RemoteDebugger] id: “PID:97058”
[RemoteDebugger] isProxy: false
[RemoteDebugger] name: “ENUYGUN”
[RemoteDebugger] bundleId: “com.mobilatolye.EnUygun”
[RemoteDebugger] hostId: undefined
[RemoteDebugger] isActive: true
[RemoteDebugger] isAutomationEnabled: “Unknown”
[RemoteDebugger] pageArray:
[RemoteDebugger] - id: 5
[RemoteDebugger] title: “”
[RemoteDebugger] url: “applewebdata://36C60362-7E43-4137-BD21-9B0D1F0E7FEB”
[RemoteDebugger] isKey: false
[RemoteDebugger] - id: 6
[RemoteDebugger] title: “Ödeme ve Taksit Seçenekleri - Enuygun.com
[RemoteDebugger] url: “&isMobileApp=1”
[RemoteDebugger] isKey: false
[RemoteDebugger] Checking for bundle identifiers: com.apple.WebKit.WebContent, process-com.apple.WebKit.WebContent, process-SafariViewService, com.apple.SafariViewService, , com.mobilatolye.EnUygun
[RemoteDebugger] Found app id key ‘PID:97058’ for bundle ‘com.mobilatolye.EnUygun’
[RemoteDebugger] Trying out the possible app ids: PID:97058 (try #1 of 20)
[RemoteDebugger] Attempting app ‘PID:97058’
[RemoteDebugger] Sending ‘_rpc_forwardGetListing:’ message to app ‘PID:97058’ (id: 4): ‘connectToApp’
[RemoteDebugger] Received response from send (id: 4): ‘[“PID:97058”,{“5”:{“WIRTitleKey”:"",“WIRTypeKey”:“WIRTypePage”,“WIRURLKey”:“applewebdata://36C60362-7E43-4137-BD21-9B0D1F0E7FEB”,“WIRPageIdentifierKey”:5},“6”:{“WIRTitleKey”:"Ödeme ve Taksit Seçene…’
[RemoteDebugger] Received page change notice for app ‘PID:97058’ but the listing has not changed. Ignoring.
[RemoteDebugger] Page changed: {
[RemoteDebugger] “5”: {
[RemoteDebugger] “WIRTitleKey”: “”,
[RemoteDebugger] “WIRTypeKey”: “WIRTypePage”,
[RemoteDebugger] “WIRURLKey”: “applewebdata://36C60362-7E43-4137-BD21-9B0D1F0E7FEB”,
[RemoteDebugger] “WIRPageIdentifierKey”: 5
[RemoteDebugger] },
[RemoteDebugger] “6”: {
[RemoteDebugger] “WIRTitleKey”: “Ödeme ve Taksit Seçenekleri - Enuygun.com”,
[RemoteDebugger] “WIRTypeKey”: “WIRTypeWebPage”,
[RemoteDebugger] “WIRURLKey”: “&isMobileApp=1”,
[RemoteDebugger] “WIRPageIdentifierKey”: 6
[RemoteDebugger] }
[RemoteDebugger] }
[XCUITest] Remote debugger notified us of a new page listing: {“appIdKey”:“97058”,“pageArray”:[{“id”:5,“title”:"",“url”:“applewebdata://36C60362-7E43-4137-BD21-9B0D1F0E7FEB”,“isKey”:false},{“id”:6,“title”:“Ödeme ve Taksit Seçenekleri - Enuygun.com”,“url”:"&isMobileApp=1",“isKey”:false}]}
[XCUITest] No key id found. Choosing first id from page array
[XCUITest] We do not appear to have window set yet, ignoring
[RemoteDebugger] Sending to Web Inspector took 10ms
[RemoteDebugger] Current applications available:
[RemoteDebugger] Application: “PID:97058”
[RemoteDebugger] id: “PID:97058”
[RemoteDebugger] isProxy: false
[RemoteDebugger] name: “ENUYGUN”
[RemoteDebugger] bundleId: “com.mobilatolye.EnUygun”
[RemoteDebugger] hostId: undefined
[RemoteDebugger] isActive: true
[RemoteDebugger] isAutomationEnabled: “Unknown”
[RemoteDebugger] pageArray:
[RemoteDebugger] - id: 5
[RemoteDebugger] title: “”
[RemoteDebugger] url: “applewebdata://36C60362-7E43-4137-BD21-9B0D1F0E7FEB”
[RemoteDebugger] isKey: false
[RemoteDebugger] - id: 6
[RemoteDebugger] title: “Ödeme ve Taksit Seçenekleri - Enuygun.com
[RemoteDebugger] url: “&isMobileApp=1”
[RemoteDebugger] isKey: false
[RemoteDebugger] Finally selecting app PID:97058: [{“id”:5,“title”:"",“url”:“applewebdata://36C60362-7E43-4137-BD21-9B0D1F0E7FEB”,“isKey”:false},{“id”:6,“title”:“Ödeme ve Taksit Seçenekleri - Enuygun.com”,“url”:"&isMobileApp=1",“isKey”:false}]
[RemoteDebugger] Selected app after 22ms
[W3C (03e3ee52)] Responding to client with driver.getContexts() result: [“NATIVE_APP”,“WEBVIEW_97058.5”,“WEBVIEW_97058.6”]
[HTTP] <-- GET /wd/hub/session/03e3ee52-c95e-4fa6-8b0f-6593e407f47f/contexts 200 26 ms - 60
[HTTP]
[HTTP] --> POST /wd/hub/session/03e3ee52-c95e-4fa6-8b0f-6593e407f47f/context
[HTTP] {“name”:“WEBVIEW_97058.5”}
[W3C (03e3ee52)] Calling AppiumDriver.setContext() with args: [“WEBVIEW_97058.5”,“03e3ee52-c95e-4fa6-8b0f-6593e407f47f”]
[XCUITest] Executing command ‘setContext’
[XCUITest] Attempting to set context to ‘WEBVIEW_97058.5’ from ‘NATIVE_APP’
[RemoteDebugger] Selecting page ‘5’ on app ‘PID:97058’ and forwarding socket setup
[RemoteDebugger] Sending ‘_rpc_forwardIndicateWebView:’ message to app ‘PID:97058’, page ‘5’ (id: 6): ‘indicateWebView’
[RemoteDebugger] Sending to Web Inspector took 2ms
[RemoteDebugger] Sending ‘_rpc_forwardIndicateWebView:’ message to app ‘PID:97058’, page ‘5’ (id: 8): ‘indicateWebView’
[RemoteDebugger] Sending to Web Inspector took 1ms
[RemoteDebugger] Sending ‘_rpc_forwardSocketSetup:’ message to app ‘PID:97058’, page ‘5’ (id: 10): ‘setSenderKey’
[RemoteDebugger] Sending to Web Inspector took 1ms
[RemoteDebugger] Sender key set
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 12): ‘Inspector.enable’
[RemoteDebugger] Sending to Web Inspector took 4ms
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 14): ‘Page.enable’
[RemoteDebugger] Sending to Web Inspector took 1ms
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 16): ‘Network.enable’
[RemoteDebugger] Sending to Web Inspector took 1ms
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 18): ‘Runtime.enable’
[RemoteDebugger] Sending to Web Inspector took 1ms
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 20): ‘Heap.enable’
[RemoteDebugger] Sending to Web Inspector took 1ms
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 22): ‘Debugger.enable’
[RemoteDebugger] Sending to Web Inspector took 1ms
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 24): ‘Console.enable’
[RemoteDebugger] Sending to Web Inspector took 1ms
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 26): ‘Inspector.initialized’
[RemoteDebugger] Sending to Web Inspector took 1ms
[RemoteDebugger] Checking document readyState
[RemoteDebugger] Sending javascript command: ‘document.readyState;’
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 28): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘13’)
[RemoteDebugger] Handling message (id: ‘15’)
[RemoteDebugger] Handling message (id: ‘17’)
[RemoteDebugger] Handling message (id: ‘19’)
[RemoteDebugger] Handling message (id: ‘21’)
[RemoteDebugger] Handling message (id: ‘23’)
[RemoteDebugger] Handling message (id: ‘25’)
[RemoteDebugger] Handling message (id: ‘27’)
[RemoteDebugger] Handling message (id: ‘29’)
[RemoteDebugger] The target device does not support Target based communication. Will follow non-target based communication.
[RemoteDebugger] Setting communication protocol: using full Web Inspector protocol communication
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 30): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘30’)
[RemoteDebugger] Received data response from send (id: 30): ‘“complete”’
[RemoteDebugger] Sending to Web Inspector took 113ms
[RemoteDebugger] Document readyState is ‘complete’
[RemoteDebugger] Selected page after 130ms
[RemoteDebugger] Starting to listen for JavaScript console
[RemoteDebugger] Starting to listen for network events
[W3C (03e3ee52)] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /wd/hub/session/03e3ee52-c95e-4fa6-8b0f-6593e407f47f/context 200 141 ms - 14
[HTTP]
[HTTP] --> GET /wd/hub/session/03e3ee52-c95e-4fa6-8b0f-6593e407f47f/context
[HTTP] {}
[W3C (03e3ee52)] Calling AppiumDriver.getCurrentContext() with args: [“03e3ee52-c95e-4fa6-8b0f-6593e407f47f”]
[XCUITest] Executing command ‘getCurrentContext’
[W3C (03e3ee52)] Responding to client with driver.getCurrentContext() result: “WEBVIEW_97058.5”
[HTTP] <-- GET /wd/hub/session/03e3ee52-c95e-4fa6-8b0f-6593e407f47f/context 200 3 ms - 27
[HTTP]
[HTTP] --> POST /wd/hub/session/03e3ee52-c95e-4fa6-8b0f-6593e407f47f/element
[HTTP] {“using”:“xpath”,“value”:"//
[@data-testid=‘creditCardNumber’]"}
[W3C (03e3ee52)] Calling AppiumDriver.findElement() with args: [“xpath”,"//[@data-testid=‘creditCardNumber’]",“03e3ee52-c95e-4fa6-8b0f-6593e407f47f”]
[XCUITest] Executing command ‘findElement’
[BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id, css selector
[BaseDriver] Waiting up to 10000 ms for condition
[RemoteDebugger] Executing atom ‘find_element’ with 'args=[“xpath”,"//
[@data-testid=‘creditCardNumber’]",null]; frames=’
[RemoteDebugger] Executing ‘find_element’ atom in default context
[RemoteDebugger] Sending javascript command: ‘(function(){return function(){var k=this;functi…’
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 31): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘31’)
[RemoteDebugger] Received data response from send (id: 31): ‘"{“status”:0,“value”:null}"’
[RemoteDebugger] Sending to Web Inspector took 70ms
[RemoteDebugger] Received result for atom ‘find_element’ execution: null
[BaseDriver] Waited for 71 ms so far
[RemoteDebugger] Page changed: {
[RemoteDebugger] “5”: {
[RemoteDebugger] “WIRTitleKey”: “”,
[RemoteDebugger] “WIRTypeKey”: “WIRTypePage”,
[RemoteDebugger] “WIRURLKey”: “applewebdata://36C60362-7E43-4137-BD21-9B0D1F0E7FEB”,
[RemoteDebugger] “WIRPageIdentifierKey”: 5,
[RemoteDebugger] “WIRConnectionIdentifierKey”: “37524fa0-e499-45eb-94ed-589790524c50”
[RemoteDebugger] },
[RemoteDebugger] “6”: {
[RemoteDebugger] “WIRTitleKey”: “Ödeme ve Taksit Seçenekleri - Enuygun.com”,
[RemoteDebugger] “WIRTypeKey”: “WIRTypeWebPage”,
[RemoteDebugger] “WIRURLKey”: “&isMobileApp=1”,
[RemoteDebugger] “WIRPageIdentifierKey”: 6
[RemoteDebugger] }
[RemoteDebugger] }
[XCUITest] Remote debugger notified us of a new page listing: {“appIdKey”:“97058”,“pageArray”:[{“id”:5,“title”:"",“url”:“applewebdata://36C60362-7E43-4137-BD21-9B0D1F0E7FEB”,“isKey”:true},{“id”:6,“title”:“Ödeme ve Taksit Seçenekleri - Enuygun.com”,“url”:"&isMobileApp=1",“isKey”:false}]}
[XCUITest] Checking if page needs to load
[XCUITest] New page listing is same as old, doing nothing
[XCUITest] Redirected from ‘null’ to ‘applewebdata://36C60362-7E43-4137-BD21-9B0D1F0E7FEB’
[RemoteDebugger] Executing atom ‘find_element’ with ‘args=[“xpath”,"//[@data-testid=‘creditCardNumber’]",null]; frames=’
[RemoteDebugger] Executing ‘find_element’ atom in default context
[RemoteDebugger] Sending javascript command: ‘(function(){return function(){var k=this;functi…’
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 32): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘32’)
[RemoteDebugger] Received data response from send (id: 32): ‘"{“status”:0,“value”:null}"’
[RemoteDebugger] Sending to Web Inspector took 26ms
[RemoteDebugger] Received result for atom ‘find_element’ execution: null
[BaseDriver] Waited for 603 ms so far
[RemoteDebugger] Executing atom ‘find_element’ with 'args=[“xpath”,"//
[@data-testid=‘creditCardNumber’]",null]; frames=’
[RemoteDebugger] Executing ‘find_element’ atom in default context
[RemoteDebugger] Sending javascript command: ‘(function(){return function(){var k=this;functi…’
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 33): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘33’)
[RemoteDebugger] Received data response from send (id: 33): ‘"{“status”:0,“value”:null}"’
[RemoteDebugger] Sending to Web Inspector took 29ms
[RemoteDebugger] Received result for atom ‘find_element’ execution: null
[BaseDriver] Waited for 1137 ms so far
[RemoteDebugger] Executing atom ‘find_element’ with ‘args=[“xpath”,"//[@data-testid=‘creditCardNumber’]",null]; frames=’
[RemoteDebugger] Executing ‘find_element’ atom in default context
[RemoteDebugger] Sending javascript command: ‘(function(){return function(){var k=this;functi…’
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 34): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘34’)
[RemoteDebugger] Received data response from send (id: 34): ‘"{“status”:0,“value”:null}"’
[RemoteDebugger] Sending to Web Inspector took 17ms
[RemoteDebugger] Received result for atom ‘find_element’ execution: null
[BaseDriver] Waited for 1657 ms so far
[RemoteDebugger] Executing atom ‘find_element’ with 'args=[“xpath”,"//
[@data-testid=‘creditCardNumber’]",null]; frames=’
[RemoteDebugger] Executing ‘find_element’ atom in default context
[RemoteDebugger] Sending javascript command: ‘(function(){return function(){var k=this;functi…’
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 35): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘35’)
[RemoteDebugger] Received data response from send (id: 35): ‘"{“status”:0,“value”:null}"’
[RemoteDebugger] Sending to Web Inspector took 15ms
[RemoteDebugger] Received result for atom ‘find_element’ execution: null
[BaseDriver] Waited for 2179 ms so far
[RemoteDebugger] Executing atom ‘find_element’ with ‘args=[“xpath”,"//[@data-testid=‘creditCardNumber’]",null]; frames=’
[RemoteDebugger] Executing ‘find_element’ atom in default context
[RemoteDebugger] Sending javascript command: ‘(function(){return function(){var k=this;functi…’
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 36): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘36’)
[RemoteDebugger] Received data response from send (id: 36): ‘"{“status”:0,“value”:null}"’
[RemoteDebugger] Sending to Web Inspector took 16ms
[RemoteDebugger] Received result for atom ‘find_element’ execution: null
[BaseDriver] Waited for 2700 ms so far
[RemoteDebugger] Executing atom ‘find_element’ with 'args=[“xpath”,"//
[@data-testid=‘creditCardNumber’]",null]; frames=’
[RemoteDebugger] Executing ‘find_element’ atom in default context
[RemoteDebugger] Sending javascript command: ‘(function(){return function(){var k=this;functi…’
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 37): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘37’)
[RemoteDebugger] Received data response from send (id: 37): ‘"{“status”:0,“value”:null}"’
[RemoteDebugger] Sending to Web Inspector took 15ms
[RemoteDebugger] Received result for atom ‘find_element’ execution: null
[BaseDriver] Waited for 3222 ms so far
[RemoteDebugger] Executing atom ‘find_element’ with ‘args=[“xpath”,"//[@data-testid=‘creditCardNumber’]",null]; frames=’
[RemoteDebugger] Executing ‘find_element’ atom in default context
[RemoteDebugger] Sending javascript command: ‘(function(){return function(){var k=this;functi…’
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 38): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘38’)
[RemoteDebugger] Received data response from send (id: 38): ‘"{“status”:0,“value”:null}"’
[RemoteDebugger] Sending to Web Inspector took 20ms
[RemoteDebugger] Received result for atom ‘find_element’ execution: null
[BaseDriver] Waited for 3750 ms so far
[RemoteDebugger] Executing atom ‘find_element’ with 'args=[“xpath”,"//
[@data-testid=‘creditCardNumber’]",null]; frames=’
[RemoteDebugger] Executing ‘find_element’ atom in default context
[RemoteDebugger] Sending javascript command: ‘(function(){return function(){var k=this;functi…’
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 39): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘39’)
[RemoteDebugger] Received data response from send (id: 39): ‘"{“status”:0,“value”:null}"’
[RemoteDebugger] Sending to Web Inspector took 20ms
[RemoteDebugger] Received result for atom ‘find_element’ execution: null
[BaseDriver] Waited for 4274 ms so far
[RemoteDebugger] Executing atom ‘find_element’ with ‘args=[“xpath”,"//[@data-testid=‘creditCardNumber’]",null]; frames=’
[RemoteDebugger] Executing ‘find_element’ atom in default context
[RemoteDebugger] Sending javascript command: ‘(function(){return function(){var k=this;functi…’
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 40): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘40’)
[RemoteDebugger] Received data response from send (id: 40): ‘"{“status”:0,“value”:null}"’
[RemoteDebugger] Sending to Web Inspector took 18ms
[RemoteDebugger] Received result for atom ‘find_element’ execution: null
[BaseDriver] Waited for 4802 ms so far
[RemoteDebugger] Executing atom ‘find_element’ with 'args=[“xpath”,"//
[@data-testid=‘creditCardNumber’]",null]; frames=’
[RemoteDebugger] Executing ‘find_element’ atom in default context
[RemoteDebugger] Sending javascript command: ‘(function(){return function(){var k=this;functi…’
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 41): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘41’)
[RemoteDebugger] Received data response from send (id: 41): ‘"{“status”:0,“value”:null}"’
[RemoteDebugger] Sending to Web Inspector took 17ms
[RemoteDebugger] Received result for atom ‘find_element’ execution: null
[BaseDriver] Waited for 5325 ms so far
[RemoteDebugger] Executing atom ‘find_element’ with ‘args=[“xpath”,"//[@data-testid=‘creditCardNumber’]",null]; frames=’
[RemoteDebugger] Executing ‘find_element’ atom in default context
[RemoteDebugger] Sending javascript command: ‘(function(){return function(){var k=this;functi…’
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 42): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘42’)
[RemoteDebugger] Received data response from send (id: 42): ‘"{“status”:0,“value”:null}"’
[RemoteDebugger] Sending to Web Inspector took 7ms
[RemoteDebugger] Received result for atom ‘find_element’ execution: null
[BaseDriver] Waited for 5838 ms so far
[RemoteDebugger] Executing atom ‘find_element’ with 'args=[“xpath”,"//
[@data-testid=‘creditCardNumber’]",null]; frames=’
[RemoteDebugger] Executing ‘find_element’ atom in default context
[RemoteDebugger] Sending javascript command: ‘(function(){return function(){var k=this;functi…’
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 43): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘43’)
[RemoteDebugger] Received data response from send (id: 43): ‘"{“status”:0,“value”:null}"’
[RemoteDebugger] Sending to Web Inspector took 9ms
[RemoteDebugger] Received result for atom ‘find_element’ execution: null
[BaseDriver] Waited for 6353 ms so far
[RemoteDebugger] Executing atom ‘find_element’ with ‘args=[“xpath”,"//[@data-testid=‘creditCardNumber’]",null]; frames=’
[RemoteDebugger] Executing ‘find_element’ atom in default context
[RemoteDebugger] Sending javascript command: ‘(function(){return function(){var k=this;functi…’
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 44): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘44’)
[RemoteDebugger] Received data response from send (id: 44): ‘"{“status”:0,“value”:null}"’
[RemoteDebugger] Sending to Web Inspector took 9ms
[RemoteDebugger] Received result for atom ‘find_element’ execution: null
[BaseDriver] Waited for 6868 ms so far
[RemoteDebugger] Executing atom ‘find_element’ with 'args=[“xpath”,"//
[@data-testid=‘creditCardNumber’]",null]; frames=’
[RemoteDebugger] Executing ‘find_element’ atom in default context
[RemoteDebugger] Sending javascript command: ‘(function(){return function(){var k=this;functi…’
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 45): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘45’)
[RemoteDebugger] Received data response from send (id: 45): ‘"{“status”:0,“value”:null}"’
[RemoteDebugger] Sending to Web Inspector took 7ms
[RemoteDebugger] Received result for atom ‘find_element’ execution: null
[BaseDriver] Waited for 7379 ms so far
[RemoteDebugger] Executing atom ‘find_element’ with ‘args=[“xpath”,"//[@data-testid=‘creditCardNumber’]",null]; frames=’
[RemoteDebugger] Executing ‘find_element’ atom in default context
[RemoteDebugger] Sending javascript command: ‘(function(){return function(){var k=this;functi…’
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 46): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘46’)
[RemoteDebugger] Received data response from send (id: 46): ‘"{“status”:0,“value”:null}"’
[RemoteDebugger] Sending to Web Inspector took 4ms
[RemoteDebugger] Received result for atom ‘find_element’ execution: null
[BaseDriver] Waited for 7885 ms so far
[RemoteDebugger] Executing atom ‘find_element’ with 'args=[“xpath”,"//
[@data-testid=‘creditCardNumber’]",null]; frames=’
[RemoteDebugger] Executing ‘find_element’ atom in default context
[RemoteDebugger] Sending javascript command: ‘(function(){return function(){var k=this;functi…’
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 47): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘47’)
[RemoteDebugger] Received data response from send (id: 47): ‘"{“status”:0,“value”:null}"’
[RemoteDebugger] Sending to Web Inspector took 12ms
[RemoteDebugger] Received result for atom ‘find_element’ execution: null
[BaseDriver] Waited for 8400 ms so far
[RemoteDebugger] Executing atom ‘find_element’ with ‘args=[“xpath”,"//[@data-testid=‘creditCardNumber’]",null]; frames=’
[RemoteDebugger] Executing ‘find_element’ atom in default context
[RemoteDebugger] Sending javascript command: ‘(function(){return function(){var k=this;functi…’
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 48): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘48’)
[RemoteDebugger] Received data response from send (id: 48): ‘"{“status”:0,“value”:null}"’
[RemoteDebugger] Sending to Web Inspector took 15ms
[RemoteDebugger] Received result for atom ‘find_element’ execution: null
[BaseDriver] Waited for 8920 ms so far
[RemoteDebugger] Executing atom ‘find_element’ with 'args=[“xpath”,"//
[@data-testid=‘creditCardNumber’]",null]; frames=’
[RemoteDebugger] Executing ‘find_element’ atom in default context
[RemoteDebugger] Sending javascript command: ‘(function(){return function(){var k=this;functi…’
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 49): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘49’)
[RemoteDebugger] Received data response from send (id: 49): ‘"{“status”:0,“value”:null}"’
[RemoteDebugger] Sending to Web Inspector took 10ms
[RemoteDebugger] Received result for atom ‘find_element’ execution: null
[BaseDriver] Waited for 9435 ms so far
[RemoteDebugger] Executing atom ‘find_element’ with ‘args=[“xpath”,"//[@data-testid=‘creditCardNumber’]",null]; frames=’
[RemoteDebugger] Executing ‘find_element’ atom in default context
[RemoteDebugger] Sending javascript command: ‘(function(){return function(){var k=this;functi…’
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 50): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘50’)
[RemoteDebugger] Received data response from send (id: 50): ‘"{“status”:0,“value”:null}"’
[RemoteDebugger] Sending to Web Inspector took 6ms
[RemoteDebugger] Received result for atom ‘find_element’ execution: null
[BaseDriver] Waited for 9947 ms so far
[RemoteDebugger] Executing atom ‘find_element’ with 'args=[“xpath”,"//
[@data-testid=‘creditCardNumber’]",null]; frames=’
[RemoteDebugger] Executing ‘find_element’ atom in default context
[RemoteDebugger] Sending javascript command: ‘(function(){return function(){var k=this;functi…’
[RemoteDebugger] Sending ‘_rpc_forwardSocketData:’ message to app ‘PID:97058’, page ‘5’ (id: 51): ‘Runtime.evaluate’
[RemoteDebugger] Handling message (id: ‘51’)
[RemoteDebugger] Received data response from send (id: 51): ‘"{“status”:0,“value”:null}"’
[RemoteDebugger] Sending to Web Inspector took 4ms
[RemoteDebugger] Received result for atom ‘find_element’ execution: null
[W3C (03e3ee52)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters.
[W3C (03e3ee52)] at XCUITestDriver.findWebElementOrElements (/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/web.js:268:11)
[HTTP] <-- POST /wd/hub/session/03e3ee52-c95e-4fa6-8b0f-6593e407f47f/element 404 10012 ms - 434
[HTTP]
[HTTP] --> GET /wd/hub/session/03e3ee52-c95e-4fa6-8b0f-6593e407f47f/screenshot
[HTTP] {}
[W3C (03e3ee52)] Calling AppiumDriver.getScreenshot() with args: [“03e3ee52-c95e-4fa6-8b0f-6593e407f47f”]
[XCUITest] Executing command ‘getScreenshot’
[XCUITest] Taking screenshot with WDA
[WD Proxy] Matched ‘/screenshot’ to command name ‘getScreenshot’
[WD Proxy] Proxying [GET /screenshot] to [GET http://127.0.0.1:8100/session/86CBF167-CB0A-4F82-8478-D210D072B2CA/screenshot] with no body
[WD Proxy] Got response with status 200: {“value”:"iVBORw0KGgoAAAANSUhEUgAAAu4AAAU2CAYAAADK1zMGAAAAAXNSR0IArs4c6QAA\r\nAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKAC\r\nAAQAAAABAAAC7qADAAQAAAABAAAFNgAAAACw0axrAAAAHGlET1QAAAACAAAAAAAA\r\nApsAAAAoAAACmwAAApsAAgVLHliZ/gAAQABJREFUeAHsnQWcHkW29vd+193d3X3v\r\n3rvX9tpeXcHj7iEQJLjLLou7uzsEQrCQAAtsII4FTyCBKAlxmQTqO//T/XQqnfed\r\nyURmJnDqNz3VXXLq1NMlT1VX1fu5FCYQCAQCgUBguxD4+OOP0yeffOJhZeOGafbs\r\nnvEvEAgEAoFAIBDYBQh8bhfICBGBQCAQCHyqERApJ5Pci6wr03rOw8kv7EAgEAgE\r\nAoFAYFchEMR9VyEZcgKBQOBTh8DmzZudqDci6/iJsJNxnjGEDQLvUMS/QCAQCAQC\r\ngV2MQBD3XQxoiAsEAoFPFwI5Oec+f1ZON27cWJH1TZs2yTnsQCAQCAQCgUBglyIQ\r\nxH2XwhnCAoFA4NOEQJ2o15+ZZddMO/mGwGNixt1hiH+BQCAQCAQCuxiBIO67GNAQ\r\nFwgEAp8+BOqEvZ7DfBa+paWl7h3PgUAgEAgEAoHALkEgiPsugTGEBAKBwKcRgfp6\r\n9XwZzNq1a6ssa707/iLu+Ux8FTBuAoFAIBAIBAKBnUAgiPtOgBdRA4FA4NOPgJa9\r\n5LPq1157bfqhH/qh9MUvfjGJzL/99tvpl3/5l9Mv/MIvpFmzZsVymU9/0YgcBgKB\r\nQCDQ4QhsN3HPO61GHRn+clcueG4UD//cXeH3VJt8anZN+ZKtPKlz51lhuRdGwi6X\r\nhf/uNHmapKNn9JOOygd+ughbd8dNhrzKHzflvZGb4oQdCHR1BFQ/sP/pn/4…
[W3C (03e3ee52)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAAAu4AAAU2CAYAAADK1zMGAAAAAXNSR0IArs4c6QAA\r\nAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKAC\r\nAAQAAAABAAAC7qADAAQAAAABAAAFNgAAAACw0axrAAAAHGlET1QAAAACAAAAAAAA\r\nApsAAAAoAAACmwAAApsAAgVLHliZ/gAAQABJREFUeAHsnQWcHkW29vd+193d3X3v\r\n3rvX9tpeXcHj7iEQJLjLLou7uzsEQrCQAAtsII4FTyCBKAlxmQTqO//T/XQqnfed\r\nyURmJnDqNz3VXXLq1NMlT1VX1fu5FCYQCAQCgUBguxD4+OOP0yeffOJhZeOGafbs\r\nnvEvEAgEAoFAIBDYBQh8bhfICBGBQCAQCHyqERApJ5Pci6wr03rOw8kv7EAgEAgE\r\nAoFAYFchEMR9VyEZcgKBQOBTh8DmzZudqDci6/iJsJNxnjGEDQLvUMS/QCAQCAQC\r\ngV2MQBD3XQxoiAsEAoFPFwI5Oec+f1ZON27cWJH1TZs2yTnsQCAQCAQCgUBglyIQ\r\nxH2XwhnCAoFA4NOEQJ2o15+ZZddMO/mGwGNixt1hiH+BQCAQCAQCuxiBIO67GNAQ\r\nFwgEAp8+BOqEvZ7DfBa+paWl7h3PgUAgEAgEAoHALkEgiPsugTGEBAKBwKcRgfp6\r\n9XwZzNq1a6ssa707/iLu+Ux8FTBuAoFAIBAIBAKBnUAgiPtOgBdRA4FA4NOPgJa9\r\n5LPq1157bfqhH/qh9MUvfjGJzL/99tvpl3/5l9Mv/MIvpFmzZsVymU9/0YgcBgKB\r\nQCDQ4QhsN3HPO61GHRn+clcueG4UD//cXeH3VJt8anZN+ZKtPKlz51lhuRdGwi6X\r\nhf/uNHmapKNn9JOOygd+ughbd8dNhrzKHzflvZGb4oQdCHR1BFQ/sP/pn/4pfe5z\r\n…
[HTTP] <-- GET /wd/hub/session/03e3ee52-c95e-4fa6-8b0f-6593e407f47f/screenshot 200 76 ms - 442024
[HTTP]
[HTTP] --> DELETE /wd/hub/session/03e3ee52-c95e-4fa6-8b0f-6593e407f47f
[HTTP] {}
[W3C (03e3ee52)] Calling AppiumDriver.deleteSession() with args: [“03e3ee52-c95e-4fa6-8b0f-6593e407f47f”]
[BaseDriver] Event ‘quitSessionRequested’ logged at 1665681194766 (20:13:14 GMT+0300 (GMT+03:00))
[Appium] Removing session 03e3ee52-c95e-4fa6-8b0f-6593e407f47f from our master session list
[WD Proxy] Matched ‘/session/03e3ee52-c95e-4fa6-8b0f-6593e407f47f’ to command name ‘deleteSession’
[WD Proxy] Proxying [DELETE /session/03e3ee52-c95e-4fa6-8b0f-6593e407f47f] to [DELETE http://127.0.0.1:8100/session/86CBF167-CB0A-4F82-8478-D210D072B2CA] with no body
[RemoteDebugger] Application ‘PID:97058’ disconnected. Removing from app dictionary.
[RemoteDebugger] Current app is ‘PID:97058’
[RemoteDebugger] No longer have app id. Attempting to find new one.
[WD Proxy] Got response with status 200: {“value”:null,“sessionId”:null}
[DevCon Factory] Releasing connections for 44B2B012-01EC-46E0-B1C4-7F29037F24F7 device on any port number
[DevCon Factory] Found cached connections to release: [“44B2B012-01EC-46E0-B1C4-7F29037F24F7:8100”]
[DevCon Factory] Cached connections count: 0
[XCUITest] Not clearing log files. Use clearSystemFiles capability to turn on.
[XCUITest] Found a remote debugger session. Removing…
[RemoteDebugger] Disconnecting from remote debugger
[RemoteDebugger] Cleaning up listeners
[IOSSimulatorLog] Stopping iOS log capture
[BaseDriver] Event ‘quitSessionFinished’ logged at 1665681195877 (20:13:15 GMT+0300 (GMT+03:00))
[W3C (03e3ee52)] Received response: null
[W3C (03e3ee52)] But deleting session, so not returning
[W3C (03e3ee52)] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/03e3ee52-c95e-4fa6-8b0f-6593e407f47f 200 1119 ms - 14
[HTTP]
[Xcode] 2022-10-13 20:50:26.434 xcodebuild[91857:22055131] IDETestOperationsObserverDebug: Failure collecting logarchive: Error Domain=NSCocoaErrorDomain Code=4 ““test-session-systemlogs-2022.10.13_20-50-21-+0300.logarchive” couldn’t be moved to “My Mac_D954DCAA-35D3-5775-885D-E5E58DCAE7B6” because either the former doesn’t exist, or the folder containing the latter doesn’t exist.” UserInfo={NSSourceFilePathErrorKey=/var/tmp/test-session-systemlogs-2022.10.13_20-50-21-+0300.logarchive, NSUserStringVariant=(
[Xcode] Move
[Xcode] ), NSDestinationFilePath=/Users/enuygun/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2022.10.13_15-36-14-+0300.xcresult/Staging/2_Test/Diagnostics/My Mac_D954DCAA-35D3-5775-885D-E5E58DCAE7B6/test-session-systemlogs-2022.10.13_20-50-21-+0300.logarchive, NSFilePath=/var/tmp/test-session-systemlogs-2022.10.13_20-50-21-+0300.logarchive, NSUnderlyingError=0x600009c0ae50 {Error Domain=NSPOSIXErrorDomain Code=2 “No such file or directory”}}
[Xcode]
[Xcode] 2022-10-13 20:51:14.942 xcodebuild[91857:22062972] IDETestOperationsObserverDebug: Failure collecting logarchive: Error Domain=OSLogErrorDomain Code=17 "Log archive creation failed with error 17, warnings during creation: failed to create directory: /var/tmp/test-session-systemlogs-2022.10.13_20-50-21-+0300.logarchive: File exists (17)
[Xcode] " UserInfo={NSLocalizedDescription=Log archive creation failed with error 17, warnings during creation: failed to create directory: /var/tmp/test-session-systemlogs-2022.10.13_20-50-21-+0300.logarchive: File exists (17)
[Xcode] }
[Xcode]
[Xcode] 2022-10-13 20:51:14.951 xcodebuild[91857:21761913] [MT] IDETestOperationsObserverDebug: 18899.267 elapsed – Testing started completed.
[Xcode] 2022-10-13 20:51:14.951 xcodebuild[91857:21761913] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec – start
[Xcode]
[Xcode] 2022-10-13 20:51:14.952 xcodebuild[91857:21761913] [MT] IDETestOperationsObserverDebug: 18899.267 sec, +18899.267 sec – end
[Xcode]
[Xcode]
[Xcode] Test session results, code coverage, and logs:
[Xcode] /Users/enuygun/Library/Developer/Xcode/DerivedData/WebDriverAgent-aghlrsejdreqngftgvcqwnjgrbou/Logs/Test/Test-WebDriverAgentRunner-2022.10.13_15-36-14-+0300.xcresult
[Xcode]
[Xcode]
[Xcode] Testing failed:
[Xcode] Cannot link directly with dylib/framework, your binary is not an allowed client of /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework/XCTAutomationSupport for architecture x86_64
[Xcode]
[Xcode] Failing tests:
[Xcode] -[UITestingUITests testRunner]
[Xcode]
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[Xcode] Testing started
[Xcode]
[WebDriverAgent] xcodebuild exited with code ‘65’ and signal ‘null’

cant find this element.are you talking about this site?

Yes this website but not this page, I need to handle this page

what this screen url?

Actually, this screen is embedded in a native app. You can check this url https://otel.enuygun.com/otel/rezervasyon-odeme/?request_id=580654747191bcbca58436&funnelId=6178022252a9da8ba58436&p=payment&ref=homepage&prev=travellers

it looks like i need to execute some steps to open this url.
better
1 open chrome browser
2 choose inspect
3 set any phone emulate
4 proceed with steps
5 inspect field
6 share data

e.g.

Like this right ?

yes. see this element has no “data-testid” attribute. ah above form has.

Omg I’m so embarrassed right now :frowning: I’m so careless it was a bad day for me. Thanx for your help Aleksei

if you start search in element you can test there your xpath -> image

Okey okey I got it If I get a different error I will be in here :slight_smile: