I am having a problem when a pop up of location permission is showed, I am able to switch to the alert and get the alert text, but for any reason i am not able to click on ‘Allow Once’ o wathever other option, the error says that was not able to find the element:
The latest xcuitest driver has a “respectSystemAlerts” setting. You need to set it to true and after that you can interact with locator like this: @iOSXCUITFindBy(iOSClassChain = "**/XCUIElementTypeButton[`label == "Allow While Using App"`]")
Hi @SeresProduction i tried with that implementation but the element was not found anytime, i tried with different ways to localize the element but at the end it was not possible.