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

Re-look at GetElementHandlers #115

Open
PandaMagnus opened this issue Mar 22, 2024 · 0 comments
Open

Re-look at GetElementHandlers #115

PandaMagnus opened this issue Mar 22, 2024 · 0 comments

Comments

@PandaMagnus
Copy link
Contributor

A situation was discovered that, depending on how the DOM is structured and how the locator is structured, using nth-of-type doesn't work. Multiple results will come back in the nth-of-type(1) scenario, and none for nth-of-type(2).

We should see if we can provide maybe an overload method or an optional argument for expected number of elements that accounts for this. Not sure how, but it would be nice if the method didn't just return one result and move on without any sort of notification that multiple results were found on the nth-of-type(1) scenario.

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

1 participant