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

consider adding browser.all(selector).index_of_element_by(condition) #126

Open
yashaka opened this issue Mar 10, 2020 · 3 comments
Open
Labels

Comments

@yashaka
Copy link
Collaborator

yashaka commented Mar 10, 2020

Example of usage:

browser.element('table').element('thead').all('th').indexOfElementBy(have.text('foo'))
@yashaka
Copy link
Collaborator Author

yashaka commented Mar 10, 2020

or

elementIndexBy

or

indexBy

@alex-popov-tech
Copy link
Collaborator

@yashaka element.findIndex(by.text('foo')) ?

@yashaka
Copy link
Collaborator Author

yashaka commented Mar 11, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants