-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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 element by text #241
Comments
Just use xpath. "text" is not a selenium selector strategy. $driver.find_element :xpath, '//text[@value="Sign In"]' or $driver.find_element :xpath, '//text[@text="Sign In"]' ( |
Not a native element method |
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. |
Is there a way to find elements by text or should I just use XPath?
The text was updated successfully, but these errors were encountered: