I started developing some tests for an iOS app, using Python as a programming language. I have some buttons (which for the moments doesn’t have ids) and I was wondering what is the best method to search for example, a button with a certain text and click it.
On Android I’m successfully using:
On iOS I tried using:
but I get the following error in PyCharm:
selenium.common.exceptions.InvalidSelectorException: Message: Locator Strategy ‘-ios uiautomation’ is not supported for this session
Any help, please?