We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FindByLabelStrategy
Before this change, three WebDiver commands were executed to find a component by label using [FindByLabel]attribute:
[FindByLabel]
for
id
Now FindByLabelStrategy is optimized to use composite XPath query in a form:
(.//*[@id = //label[normalize-space(.) = 'LABEL_TEXT']/@for]/descendant-or-self::input[@type='text' or not(@type)] | .//label[normalize-space(.) = 'LABEL_TEXT']/descendant-or-self::input[@type='text' or not(@type)])
The text was updated successfully, but these errors were encountered:
#739 Optimize FindByLabelStrategy to use one composite XPath query
56b7482
IdXPathForLabelAttribute
YevgeniyShunevych
No branches or pull requests
Before this change, three WebDiver commands were executed to find a component by label using
[FindByLabel]
attribute:for
attribute value.id
equal tofor
value.Now
FindByLabelStrategy
is optimized to use composite XPath query in a form:The text was updated successfully, but these errors were encountered: