Skip to content
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

[Feature] Switch between tabs in same context #2942

Closed
sublimator opened this issue Jul 14, 2020 · 3 comments
Closed

[Feature] Switch between tabs in same context #2942

sublimator opened this issue Jul 14, 2020 · 3 comments

Comments

@sublimator
Copy link

sublimator commented Jul 14, 2020

See closed and languishing [QUESTION]:
#1443 (comment)

I want to test an extension and in puppeteer we can use page.bringToFront() to focus a given tab.
The extension binds to the document visibilitychange event in the content script

@12masta
Copy link
Contributor

12masta commented Jul 17, 2020

@sublimator As a workaround I am closing tabs which are not under the test. Had same case with extension.

@aslushnikov
Copy link
Contributor

As of Playwright v1.3.0, there's now page.bringToFront()

Hope it helps!

@sublimator
Copy link
Author

@aslushnikov

Awesome!

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

No branches or pull requests

3 participants