Skip to main content

Create a valid pyppeteer browser

Project description

get-ppbrowser

pythonbuild-and-pytestCodeQLCode style: blackLicense: MITPyPI version

Instantiate a pyppeteer browser object.

Instalation

pip install get-ppbrowser
# pip  install get-ppbrowser -U  # to upgrade

or

poetry add get-ppbrowser
# poetry add get-ppbrowser@latest  # to upgrade

Usage

from get_ppbrowser import get_ppbrowser

browser = await get_ppbrowser()
page = await browser.newPage()
await page.goto("http://www.example.com")

PPBROWSER_HEADFUL, PPBROWSER_DEBUG, PPBROWSER_PROXY

Environment variables can be set with, for example, in Windows

set PPBROWSER_HEADFUL=1

or in Linux/iOS

export PPBROWSER_HEADFUL=1

or in python

import os

os.environ["PPBROWSER_HEADFUL"] = "1"

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

get-ppbrowser-0.1.3.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

get_ppbrowser-0.1.3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file get-ppbrowser-0.1.3.tar.gz.

File metadata

  • Download URL: get-ppbrowser-0.1.3.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.7.9 Windows/10

File hashes

Hashes for get-ppbrowser-0.1.3.tar.gz
Algorithm Hash digest
SHA256 9788ba29855bd75005f96d350ef5b34b1a16e754f799ff6879e100707eaa0076
MD5 64be0ca527195af01929f44a2e9e21a9
BLAKE2b-256 ace44f8a901f83d00510d4a3112f1d9bdf6ef9dd4052408d14ac441c8875ce3f

See more details on using hashes here.

File details

Details for the file get_ppbrowser-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: get_ppbrowser-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.5 CPython/3.7.9 Windows/10

File hashes

Hashes for get_ppbrowser-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3f5360ffb253accd0284b424acf0ff8dab1ed69ef442bb38a5773c8fe57f6327
MD5 64b6171ace4f19a50ceca89bea92b2f5
BLAKE2b-256 2c27327aa29abf2fcc2adb986c209835c3b29032fbb09cdf36e6fddc315008f7

See more details on using hashes here.

Supported by

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