microsoft / playwright-python

Python version of the Playwright testing and automation library.
https://playwright.dev/python/
Apache License 2.0
11.64k stars 883 forks source link

When I open the browser using playwright.chromium. launch_persistent_context, I use page. go to open a URL for example https://111.html To manually open a URL for the tag page https://222.html The tag page does not have a URL when calling context. pages https://222.html What is the reason for the page, and how can I obtain the second page? #2445

Closed blackxcloud closed 4 months ago

blackxcloud commented 4 months ago

Please do not submit this issue.

mxschmitt commented 4 months ago

Closing since this issue is not following the issue-template. The issue tracker is reserved for bug reports and feature requests. For anything else, such as questions or getting help, please see:


You are probably interested in context.pages: https://playwright.dev/python/docs/api/class-browsercontext#browser-context-pages