gives an error for xpath" (//div[contains(@class,'no-result-contact-info')]/p)[1]" InvalidArgumentException:
(//div[contains(@class,'no-result-contact-info')]/p)[1] FAIL InvalidArgumentException: Message: invalid argument: invalid locator
This type of above Xpath [1] or ( used ) robotframework-appiumlibrary is not supporting is there any work around. Libaray used Appium-Python-Client 3.1.0 robotframework-appiumlibrary 2.0.0
Same issue for me when using Indexed XPATH.
i.e. (//XCUIElementTypeButton[@name="CowDetailCell_SaveButton"])[8]
robotframework-appiumlibrary 2.0.0
Appium-Python-Client==2.7.1
u can try xpath=(//XCUIElementTypeButton[@name="CowDetailCell_SaveButton"])[8]
You mean prefix the xpath=?
Hello,
Im dealing with the same problem in my project. This type of locator is working only with the xpath= prefix.
I would like to kindly ask you if you plan to solve this issue in any of te upcoming releases?
Thank you, Michal
As we are reviewing tickets I want to ask if you all are still having issue with this?
Hi, yes, we need to add the xpath= prefix for elements with multiple occurrences.