playwright stealth
Project description
playwright_stealth
Transplanted from puppeteer-extra-plugin-stealth, Not perfect.
Install
$ pip install playwright-stealth
Usage
from playwright import sync_playwright
from playwright_stealth import stealth_sync
playwright = sync_playwright().start()
# Use playwright.chromium, playwright.firefox or playwright.webkit
# Pass headless=False to see the browser UI
executablePath = 'C:\\Google\\Chrome\\Application\\chrome.exe'
browser = playwright.chromium.launch(executablePath=executablePath, headless=True)
page = browser.newPage()
stealth_sync(page)
Test results
playwright without stealth
playwright with stealth
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
playwright-stealth-1.0.2.tar.gz
(18.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file playwright-stealth-1.0.2.tar.gz.
File metadata
- Download URL: playwright-stealth-1.0.2.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0.post20201221 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d129678b748e1368220f6cc86cc5fe365802491b25d1b174f0a462a4f1dc95d2
|
|
| MD5 |
43693db246dae64f66960e1fc4aef6b7
|
|
| BLAKE2b-256 |
249d6a9f4a1c3f8ed6a3b7badd004cb1e9ba51b5a2f170c6820c72cbeb695213
|
File details
Details for the file playwright_stealth-1.0.2-py3.8.egg.
File metadata
- Download URL: playwright_stealth-1.0.2-py3.8.egg
- Upload date:
- Size: 26.5 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0.post20201221 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ff79eea5caf587a253bda762f0aed201c3578451dbb04bf0d4c7635633ae1b3
|
|
| MD5 |
29489da08aa921ed0765ad4fc75231ae
|
|
| BLAKE2b-256 |
752a1c6bbc01035393abc294073d44fc5380aaad5d8c3b506b9f8889ba683dad
|