Skip to content

fix(api): remove deprecated timeout option from isVisible and isHidden#39924

Open
manimovassagh wants to merge 1 commit intomicrosoft:mainfrom
manimovassagh:fix-33017
Open

fix(api): remove deprecated timeout option from isVisible and isHidden#39924
manimovassagh wants to merge 1 commit intomicrosoft:mainfrom
manimovassagh:fix-33017

Conversation

@manimovassagh
Copy link
Copy Markdown
Contributor

Summary

  • Remove the deprecated timeout option from isVisible and isHidden on Locator, Page, and Frame
  • These are one-shot operations that return immediately — the timeout was never used
  • TypeScript users now get a compile error instead of silently passing a no-op option

Fixes #33017

The timeout option on isVisible/isHidden has been deprecated since v1.14
and was never used — these are one-shot operations that return immediately
without waiting. Removing it so that TypeScript users get a compile error
instead of silently passing a no-op option.

Fixes microsoft#33017
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

Successfully merging this pull request may close these issues.

[Feature]: remove the deprecated timeout argment to Locator.isVisible, or make the deprecation more obvious to the user

1 participant