- Notifications
You must be signed in to change notification settings - Fork7
A drop-in replacement for playwright-python patched with rebrowser-patches. It allows to pass modern automation detection tests.
License
rebrowser/rebrowser-playwright-python
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
⚠️ This is the originalplaywright-python
patched withrebrowser-patches
.🕵️ The ultimate goal is to pass all automation detection tests presented in
rebrowser-bot-detector
.🪄 It's designed to be a drop-in replacement for the original
playwright
without changing your codebase. Each major and minor version of this repo matches the original repo, patch version could differ due to changes related to the patch itself.☝️ Make sure to read:Patches for Puppeteer and Playwright
🐛 Please report any issues in the
rebrowser-patches
repo.
🎭Playwright for Python


Playwright is a Python library to automateChromium,Firefox andWebKit browsers with a single API. Playwright delivers automation that isever-green,capable,reliable andfast.See how Playwright is better.
Linux | macOS | Windows | |
---|---|---|---|
Chromium 131.0.6778.33 | ✅ | ✅ | ✅ |
WebKit 18.2 | ✅ | ✅ | ✅ |
Firefox 132.0 | ✅ | ✅ | ✅ |
https://playwright.dev/python/docs/intro
https://playwright.dev/python/docs/api/class-playwright
fromplaywright.sync_apiimportsync_playwrightwithsync_playwright()asp:forbrowser_typein [p.chromium,p.firefox,p.webkit]:browser=browser_type.launch()page=browser.new_page()page.goto('http://playwright.dev')page.screenshot(path=f'example-{browser_type.name}.png')browser.close()
importasynciofromplaywright.async_apiimportasync_playwrightasyncdefmain():asyncwithasync_playwright()asp:forbrowser_typein [p.chromium,p.firefox,p.webkit]:browser=awaitbrowser_type.launch()page=awaitbrowser.new_page()awaitpage.goto('http://playwright.dev')awaitpage.screenshot(path=f'example-{browser_type.name}.png')awaitbrowser.close()asyncio.run(main())
More comfortable in another programming language?Playwright is also available in
About
A drop-in replacement for playwright-python patched with rebrowser-patches. It allows to pass modern automation detection tests.
Topics
Resources
License
Code of conduct
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.