-
-
Notifications
You must be signed in to change notification settings - Fork 86
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
method findElements extremely slow #65
Comments
Thanks for the sample code. |
I added measurements for each loop:
It looks like the method takes a lot more time when the element cannot be found (even with this small sample page):
|
You are right in all points, really nice finding. There was some useless wait code called in your situation. |
Thanks for the new version with the quick fix. |
As mentioned in #49, execution time has extremely slowed down between version 2.23.2 and 2.28.1.
I was able to track it down and found out that the method findElements is significantly slower now.
Here is a little test page I used:
And this is the code I executed:
Both times, the output for the found elements is correct, but the last output line differs dramatically:
version 2.23.2:
Duration in ms: 890
version 2.28.1:
Duration in ms: 200728
The text was updated successfully, but these errors were encountered: