I am trying to identify an object which is back arrow (<) using Appium inspector.
I have written a code to install an app which is working fine. But when it comes to the @test annotation where I am trying to click on arrow , I am getting error.
Can someone please help me …
Code:
I tried 3 ways -
driver.findElementByXPath("//XCUIElementTypeButton[@name=\" \"]").click();
driver.findElementByXPath("//XCUIElementTypeButton[@x='0']").click();
driver.findElementByXPath("(//XCUIElementTypeButton)[1]").click();