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.4.tar.gz (19.0 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.4-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: playwright-stealth-1.0.4.tar.gz
  • Upload date:
  • Size: 19.0 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.4.tar.gz
Algorithm Hash digest
SHA256 f9291bb06c321a5d65c48600affec772f3905f36b0270ef3736839853881cb39
MD5 a1dd2f123ef9a5132431069e722b11de
BLAKE2b-256 267b0db0b0198a309dc23ee845b317c938765ea8329ea762ffb4bd1181e10546

See more details on using hashes here.

File details

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

File metadata

  • Download URL: playwright_stealth-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 25.7 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 18ece02301acc73dab5a459cdb4af1925fe2463fdd56345c26c3838fe6b5f4d6
MD5 7b8b277c055520d82f2d2b608d5fb52c
BLAKE2b-256 6743cfda6d5424bc4b56d7830121030f2ec7c098bd729d2d8c7a25221b0a39ad

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