-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
How to make page bring to front #2603
Comments
Each page created in Playwright behaves as if it was focused active page so bringToFront would be noop. Can you share more details about the use case where you need such method? |
@yury-s I have the context it the browser opening more than one page, then I can get all pages by this method
|
@yury-s do you have any updates? |
In your snippet even if you had Does your page somehow depend on 'document.visibilityState' or how would it detect that it's brought to top? For the |
Playwright 1.3 now has |
Still fails on firefox |
My test was also failing specifically on Firefox because the tab I was working with was not the active tab. |
Do we have a method to make to browser page on top likes
page.bringToFront()
or something like that?The text was updated successfully, but these errors were encountered: