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

Find By alternative solution #5

Closed
extsoft opened this issue Dec 3, 2015 · 1 comment
Closed

Find By alternative solution #5

extsoft opened this issue Dec 3, 2015 · 1 comment

Comments

@extsoft
Copy link

extsoft commented Dec 3, 2015

It's possible to use selenium's By.* instead on customs like s(locator, by=By.CSS). So, CSS is default. And if you have to use any other: s("//xpath", By.XPATH).
Also it's possible to make something like that: s(xpath("//xpath")).

@yashaka
Copy link
Owner

yashaka commented Feb 29, 2016

already implemented in more "straightforward" and imho "concise" way:

s(by_xpath("//xpath"))

this is also the same API that Selenide supports now :)

@yashaka yashaka closed this as completed Feb 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants