kaliiiiiiiiii / undetected-playwright-python

Undetected Python version of the Playwright testing and automation library.
https://playwright.dev/python/
Apache License 2.0
194 stars 20 forks source link

[BUG]page.pause() not work. popup a blank window #20

Open gster opened 4 weeks ago

gster commented 4 weeks ago

System info

Source code

Link to the GitHub repository with the repro

[https://github.com/your_profile/playwright_issue_title]

or

Test file (self-contained)

from undetected_playwright.async_api import async_playwright, Page

playwright_browser = await async_playwright().start()
browser_context = await playwright_browser["chromium"].launch_persistent_context(
          _path,
          executable_path="Chromium.app/Contents/MacOS/Chromium",
          ...)
 page = browser_context.pages[0]
 ...
 await page.pause()
 ... 

Steps

This will pause the page and popup the inspector window.

[Describe expected behavior]

The inspector window is blank

[Describe actual behavior]

image
KrAsH-CoD3 commented 1 week ago

I confirm this bug. Was about creating an issue then I saw this.