robotframework-appiumlibrary icon indicating copy to clipboard operation
robotframework-appiumlibrary copied to clipboard

ValueError: Element locator with prefix 'class' is not supported

Open JaldhiPandya opened this issue 8 years ago • 3 comments

JaldhiPandya avatar Jan 05 '18 04:01 JaldhiPandya

Even I am observing this issue. ValueError: Element locator with prefix 'class' is not supported

abhijitbangera avatar Jul 11 '18 13:07 abhijitbangera

Getting same error ValueError: Element locator with prefix '(//div[@class' is not supported

inarvekar avatar Feb 08 '19 08:02 inarvekar

Any update on this? I've had this problem for some time. A Click Element works fine, but any of the conditional keywords e.g. element Should Be Visible, Wait Until Page Contains Element etc. fail in this way: e.g.
Works great: Wait Until Keyword Succeeds 5x 3 sec Click Element xpath= //[@class='android.widget.Button' and ./parent::[(./preceding-sibling::* | ./following-sibling::*)[contains(@contentDescription,'Sticky')]]]

fails with the 'not supported' message:
Wait Until Page Contains Element xpath= //[@class='android.widget.Button' and ./parent::[(./preceding-sibling::* | ./following-sibling::*)[contains(@contentDescription,'Sticky')]]]

tbrown9164 avatar Feb 24 '20 18:02 tbrown9164

please check with #363 you can create new issue if still exists

serhatbolsu avatar Oct 26 '22 13:10 serhatbolsu