PlaywrightCapture
PlaywrightCapture copied to clipboard
Capture a URL with Playwright
Buckle up, this one is fun. It initially came up when this code seemed to detect the capture: https://github.com/Lookyloo/testing/blob/main/website/templates/99.3.compute_hashes.html But it will work just fine when you try to capture...
Give a try to https://github.com/AtuboDad/playwright_stealth
use record_video_dir in new_context -> https://playwright.dev/python/docs/api/class-browser#browser-new-context return it as BytesIO (optional)