Skip to main content

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

headless

playwright with stealth

headless

Project details


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.3.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

playwright_stealth-1.0.3-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

Details for the file playwright-stealth-1.0.3.tar.gz.

File metadata

  • Download URL: playwright-stealth-1.0.3.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

Hashes for playwright-stealth-1.0.3.tar.gz
Algorithm Hash digest
SHA256 6b745f8cb84bb077ee60f956c5195256612e3f24f4a0bf8f4480d9779024089d
MD5 47107a247ff2c1023b58782b4f2f37f0
BLAKE2b-256 bece6438e505e30e7f025ac34af09ee616056166b2712f704002e12027165751

See more details on using hashes here.

File details

Details for the file playwright_stealth-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: playwright_stealth-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 25.6 kB
  • Tags: Python 3
  • 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

Hashes for playwright_stealth-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d6da492b123b44b6237860fd88f3af3c1bbf0dce465f42ed83b7fc5b2ecc90a7
MD5 9ff0a17e9e5ca65aebf66e53996d3189
BLAKE2b-256 563814b8d260061ab3e2b97301eee73eb3036082bd3c0737285d00418f0dba19

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page