-
Notifications
You must be signed in to change notification settings - Fork 39
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
Remove the timeout option from isVisible and isHidden #1111
Commits on Nov 23, 2023
-
Remove timeout parameter for isVisible
This removes the need to pass in a 0 value for the timeout from frame and elementHandle. The reason for removing the timeout is that isVisible doesn't wait on an element, so there is no need for a timeout.
Configuration menu - View commit details
-
Copy full SHA for 8ca6ebe - Browse repository at this point
Copy the full SHA 8ca6ebeView commit details -
Remove timeout parameter for isHidden
This removes the need to pass in a 0 value for the timeout from frame and elementHandle. The reason for removing the timeout is that isHidden doesn't wait on an element, so there is no need for a timeout.
Configuration menu - View commit details
-
Copy full SHA for 293b879 - Browse repository at this point
Copy the full SHA 293b879View commit details -
Remove the timeout from the isVisible option
The timeout is no longer used since isVisible now returns straight away without waiting for an element to match if one doesn't already exist.
Configuration menu - View commit details
-
Copy full SHA for 5884154 - Browse repository at this point
Copy the full SHA 5884154View commit details -
Remove the options on locator.isVisible
It did accepts options which were strict and timeout. Strict is enabled and cannot be changed when working with the locator API. Timeout is no longer useful when working with isVisible.
Configuration menu - View commit details
-
Copy full SHA for 0bb82a7 - Browse repository at this point
Copy the full SHA 0bb82a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c38f9b8 - Browse repository at this point
Copy the full SHA c38f9b8View commit details -
Remove the timeout from the isHidden option
The timeout is no longer used since isHidden now returns straight away without waiting for an element to match if one doesn't already exist.
Configuration menu - View commit details
-
Copy full SHA for 300e19b - Browse repository at this point
Copy the full SHA 300e19bView commit details -
Remove the options on locator.isHidden
It did accepts options which were strict and timeout. Strict is enabled and cannot be changed when working with the locator API. Timeout is no longer useful when working with isHidden.
Configuration menu - View commit details
-
Copy full SHA for 5928ccd - Browse repository at this point
Copy the full SHA 5928ccdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e4d5ee - Browse repository at this point
Copy the full SHA 7e4d5eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 08d3dd8 - Browse repository at this point
Copy the full SHA 08d3dd8View commit details