You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.
The method isVisible(selector[, options]) from a Page object throws an exception when the given selector is not found instead of returning the boolean false which is the expected outcome.
Brief summary
The method isVisible(selector[, options]) from a Page object throws an exception when the given selector is not found instead of returning the boolean false which is the expected outcome.
xk6-browser version
latest/main
OS
Windows 11
Chrome version
114.0.5735.134
Docker version and image (if applicable)
No response
Steps to reproduce the problem
page.isVisible("//h1[contains(text(),'This string doesn't exists')]");
Expected behaviour
For a boolean false statement to be return and the code to continue execution.
Actual behaviour
Function throws an exception and stops execution.
The text was updated successfully, but these errors were encountered: