Appium: Question: Is it possible to get sibling in class chain

Created on 28 Sep 2018  路  3Comments  路  Source: appium/appium

The problem

1) Is it possible to rewrite this xpath to class chain? How exactly can I do it?
///XCUIElementTypeStaticText[@name="Name 1"]/following-sibling::XCUIElementTypeTextField[@name="Name 2"]

2) by the way, how rewrite this xpath to class chain? I have no idea :(
//XCUIElementTypeCell[./XCUIElementTypeStaticText[@name="Video"]]/XCUIElementTypeButton

Question

All 3 comments

No, this is not possible, at least in a single query.

Please use appium forum for questions

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings