Contents

playwright 1.58.0

0

A high-level API to automate web browsers

A high-level API to automate web browsers

Stars: 14268, Watchers: 14268, Forks: 1127, Open Issues: 72

The microsoft/playwright-python repo was created 5 years ago and the last code push was 6 days ago.
The project is extremely popular with a mindblowing 14268 github stars!

How to Install playwright

You can install playwright using pip

pip install playwright

or add it to a project with poetry

poetry add playwright

Package Details

Author
Microsoft Corporation License-Expression: Apache-2.0
License
None
Homepage
None
PyPi:
https://pypi.org/project/playwright/
GitHub Repo:
https://github.com/Microsoft/playwright-python

Classifiers

  • Internet/WWW/HTTP/Browsers
  • Software Development/Testing
No  playwright  pypi packages just yet.

Errors

A list of common playwright errors.

Code Examples

Here are some playwright code examples and snippets.

GitHub Issues

The playwright package has 72 open issues on GitHub

  • [Ports]: Backport client side changes for 1.59
  • chore: roll to 1.58.0
  • [Bug]: Signature insertion fails after clicking sign button in headless mode
  • chore: roll 1.58
  • [Bug]: response.body() returns mojibake (double-encoded UTF-8) for SSE streaming responses
  • [Bug]: wait_for_selector() dosn't returns first matching element
  • Fix handling of ignore_default_args when passed as a boolean.
  • [Feature]: Adaptive waiting layer for non-DOM and unstable timing scenarios
  • proxy can't work under python
  • [Ports]: Backport client side changes for 1.58
  • [Bug]: mock mobile device in chrome/chromium, open a video page, can not scroll to next page or next video
  • [Docs]: license not reflecting correctly on PyPI page
  • [Bug]: context.new_page() hangs indefinitely in Docker (Playwright v1.55.0-noble on Ubuntu 22.04.5 host)
  • [Bug]: Firefox page freezes in headless mode on Ubuntu
  • [Feature]: add snapshotForAI support

See more issues on GitHub

Related Packages & Articles

shot-scraper 1.9.1

A command-line utility for scraping and taking automated screenshots of websites

cefpython3 66.1

GUI toolkit for embedding a Chromium widget in desktop applications

pyppeteer 2.0.0

Headless chrome/chromium automation library (unofficial port of puppeteer)

helium 7.0.0

Lighter browser automation based on Selenium.

hstspreload 2025.1.1

The hstspreload Python package provides a way to interact with the Chromium HSTS preload list, which is a list of sites that are hardcoded to be HTTPS only for enhanced security. This package allows users to check if a host is on this list, indicating that it should only be accessed via HTTPS. It is updated monthly, but can be manually updated if necessary.

ffpuppet 0.18.7

A Python module that aids in the automation of Firefox at the process level