Xpath: change implementation of the @text attribute #6356
Current implementation does not allow us to query elements by their values.
We can query variable by its name
New implementation will make it possible to query by name and by value
Migration note: for migration of xpath queries please look at a1cd7a5 for bunch of examples.
referenced this issue
Jan 8, 2019
we agreed to follow AST structure completely, without any shortcuts and virtual attributes. It become a bit verbose but, it is absolute match to AST
VARIABLE_DEF does not have text in AST, so it should not have it Xpath.
It will be user responsibility to write easy to read xpath. But when user look at AST, we can easily make xpath, even it could be a bit long.
@rnveach , please review issues one more time and lets finalize our expectation of xpath format.