-
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
[Feature] Expose page.target() #783
Comments
There is no such API in Playwright today. You learn about new popups by listening to the |
The |
This seems to be incorrectly closed too. I'm trying to get the |
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
We're opening a popup and need to get its parent. Puppeteer give a
page.target
API that lets us do that.Target is present as a Symbol on the Page, but there's API that exposes it. It would be great if there was a way to get a reference to it. Currently using this hack:
The text was updated successfully, but these errors were encountered: