Skip to content
New issue

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

OuterXPath functionality #29

Closed
YevgeniyShunevych opened this issue May 26, 2017 · 0 comments
Closed

OuterXPath functionality #29

YevgeniyShunevych opened this issue May 26, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@YevgeniyShunevych
Copy link
Member

YevgeniyShunevych commented May 26, 2017

Implement functionality to set extra pre-XPath for control search. By default ".//" XPath is used as OuterXPath.

Examples

To find a control as a direct child of parent:

[FindSettings(OuterXPath = "./")]

Or:

[FindFirst(OuterXPath = "./")]

To find a first following sibling element:

[FindFirst(OuterXPath = "following-sibling::")]

To find element by class that is a direct child of some container:

[FindByClass("some-class", OuterXPath = ".//div[@id='some-container']/")]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant