Error Log 1 : Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. at XCUITestDriver.findWebElementOrElements (/Users/admin/.appium/node_modules/appium-xcuitest-driver/lib/commands/web.js:444:13) at XCUITestDriver.findElOrEls (/Users/admin/.appium/node_modules/appium-xcuitest-driver/lib/commands/find.js:22:14) at XCUITestDriver.findElOrElsWithProcessing (/usr/local/lib/node_modules/appium/node_modules/@appium/base-driver/lib/basedriver/commands/find.ts:60:12) at XCUITestDriver.findElement (/usr/local/lib/node_modules/appium/node_modules/@appium/base-driver/lib/basedriver/commands/find.ts:75:12) [e8ee8d40][HTTP] <-- POST /session/e8ee8d40-603b-408 Error Log 2 : Matched '/alert/text' to command name 'getAlertText' [73519483][XCUITestDriver@f28d] Proxying [GET /alert/text] to [GET http://127.0.0.1:8119/session/993DB0A4-B1CC-4E61-A6C2-E5827D527D76/alert/text] with no body [73519483][XCUITestDriver@f28d] Error received while executing atom: 'function(){ $('.js-code').val('https://rdinapqaet19.dev.stayinfront.com/revamexMLATouchcg/'); $('.js-starthost').click();}' is not a valid selector. [73519483][XCUITestDriver@f28d] Encountered internal error running command: InvalidElementStateError: 'function(){ $('.js-code').val('https://rdinapqaet19.dev.stayinfront.com/revamexMLATouchcg/'); $('.js-starthost').click();}' is not a valid selector. at errorFromMJSONWPStatusCode (/Users/admin/.appium/node_modules/appium-xcuitest-driver/node_modules/@appium/base-driver/lib/protocol/errors.js:1096:12) at convertResult (/Users/admin/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-remote-debugger/lib/utils.js:177:37) at RemoteDebuggerRealDevice.execute (/Users/admin/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-remote-debugger/lib/mixins/execute.js:161:23) at RemoteDebuggerRealDevice.executeAtom (/Users/admin/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-remote-debugger/lib/mixins/execute.js:34:17) [73519483][HTTP] <-- POST /session/73519483-08e2-4765-89b8-ea93b3cb9725/execute/sync 400 2116 ms - 1032 [73519483][HTTP] --> GET /session/73519483-08e2-4765-89b8-ea93b3cb9725/window/handles {} [73519483][XCUITestDriver@f28d] Calling AppiumDriver.getWindowHandles() with args: ["73519483-08e2-4765-89b8-ea93b3cb9725"] [73519483][XCUITestDriver@f28d] Executing command 'getWindowHandles' [73519483][XCUITestDriver@f28d] Getting list of available window handles [73519483][XCUITestDriver@f28d] Retrieving contexts and views [73519483][XCUITestDriver@f28d] Selecting by url: false [73519483][XCUITestDriver@f28d] About to select a web application with 20 retries and 500ms interval between each retry. Consider customizing the value of 'webviewConnectRetries' capability to change the amount of retries. [73519483][RemoteDebugger] Selecting application [73519483][RemoteDebugger] Current applications available: [73519483][RemoteDebugger] Application: "PID