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

ExpectedConditions.findElement(By by, WebDriver driver) (singular) calls WebDriver.findElements(By) (plural) #6418

Closed
alex-stumpfl opened this issue Sep 17, 2018 · 1 comment
Labels

Comments

@alex-stumpfl
Copy link

ExpectedConditions.findElement(By by, WebDriver driver) (singular) calls WebDriver.findElements(By) (plural) instead of WebDriver.findElement(By) (singular).
So in the end By.findElements(...) (plural) is called, which could be way more expensive than it's singular variant.
This problem might not concern "internal" By implementations, but it may concern others.

@barancev
Copy link
Member

It is already fixed in master, to be released soon.

@lock lock bot locked and limited conversation to collaborators Aug 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants