pyppeteer
Headless chrome/chromium automation library (unofficial port of puppeteer) (by pyppeteer)
playwright-python
Python version of the Playwright testing and automation library. (by microsoft)
pyppeteer | playwright-python | |
---|---|---|
18 | 35 | |
3,862 | 13,613 | |
0.0% | 2.6% | |
4.7 | 9.2 | |
about 1 year ago | 4 days ago | |
Python | Python | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pyppeteer
Posts with mentions or reviews of pyppeteer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-02-05.
-
Browsing the web with AI - Perplexity vs Copilot vs AI agents
{ "issues":[ { "date":"3 weeks ago", "title":"can not get document object in evaluate function", "author":"datuizhuang", "description":"User is unable to get document object in evaluate function, receiving None as result. When using page.evaluate(\\'document\\') or page.evaluate(\"document.querySelector(\\'body\\')\") it returns None, but page.querySelector(\\'body\\') works correctly." "link": "https://github.com/pyppeteer/pyppeteer/issues/486" }, { "date":"2 weeks ago", "title":"Generate fingerprint", "author":"krolaper", "description":"Issue #487 related to fingerprint generation, though specific details are not provided in the given text.", "link": "https://github.com/pyppeteer/pyppeteer/issues/487" } ] }
-
Pyppeteer Tutorial: The Ultimate Guide to Using Puppeteer with Python
The latest version of Pyppeteer, i.e., 1.0.2, can also be installed by executing pip3 install -U git+https://github.com/pyppeteer/pyppeteer@dev on the terminal.
-
Thoughts on AsyncIO
Having async baked into Python both as a keyword and standard library has vastly opened up the number of use cases async will be used in where it is appropriate, one of my favorite libraries pyppeteer would have not existed in the easy nice way it can be used without asyncio: https://github.com/pyppeteer/pyppeteer
-
Do you have a tip to bypass cookie expiration when scraping a webpage?
Yes, this is scraping. You need a legit new cookie issued by the site. The solution is to automate the going to get the cookies part. The most straight forward way to do this is probably using a headless browser through something like Selenium or pyppeteer.
-
will requests-html library work as selenium
Last I checked, pyppeteer wasn't a thing anymore, and I haven't tried Playwright but if it has a headless mode, thats what you want so you don't have a browser open.
- What have you automated with python?
-
Getting this error while installing pyppeteer
pip install -U git+https://github.com/pyppeteer/pyppeteer@dev
- Note, the first time you ever run the render() method, it will download Chromium into your home directory (e.g. ~/.pyppeteer/). This only happens once.
-
Trying to find a way to automate button clicking on work program without image use
The normal Puppeteer package is JavaScript, but I do see that there's a Python port called pyppeteer. I can't vouch for it specifically, but I imagine it's similarly easy to use as the JS version.
- Scrape JSON from Network Traffic using Selenium
playwright-python
Posts with mentions or reviews of playwright-python.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-04-30.
-
How to scrape TikTok using Python
TikTok uses quite a lot of JavaScript on its site, both for displaying content and for analyzing user behavior, including detecting and blocking crawlers. Therefore, for crawling TikTok, we'll use a headless browser with Playwright.
- reviewing prelude's django starter template(by Sheena O'Connell)
-
Google and Anthropic are working on AI agents - so I made an open source alternative
Integrating Ollama, Microsoft vision models and Playwright I've made a simple agent that can browse websites and data to answer your query.
-
Ask HN: How to remove Ads from a downloaded HTML file to output an ad free file?
Do you have to use Curl? It wouldn't render a lot of sites correctly anyway (anything that uses JS for rendering).
Can you run a puppeteer/playwright instance and add an ad blocker to that? e.g. https://github.com/ghostery/adblocker or https://github.com/microsoft/playwright-python/issues/782
-
Scrape Google Flights with Python
Playwright
-
Login for web-scraping help
An alternative is to use a package like playwright (or Selenium) to run a browser remotely and login.
-
Show HN: Use cookies from Chrome (CDP) in cURL without copy pasting
Using the tools at hand is often the best approach. That said, I've spent most of the last 13 years of my career automating browsers. For years, I used Selenium with a variety of libraries. After switching to Puppeteer/Playwright, I have zero interest in going back lol. Playwright actually has first party Python support. (Puppeteer has a port called Pyppeteer, but it's no longer maintained and the author recommends using Playwright)
https://playwright.dev/python/
- Any extension to automate workflow in automatic1111?
- Can Requests be used to make a call to a js script? Need some guidance.
-
I can't find any good Python Selenium tutorials out there. Anyone got any good links to video tutorials or even dcoumentatniton?
This is pretty great for web automation https://playwright.dev/python/
What are some alternatives?
When comparing pyppeteer and playwright-python you can also consider the following projects:
selectolax - Python binding to Modest and Lexbor engines (fast HTML5 parser with CSS selectors).
Playwright - Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
lambdasoup - Functional HTML scraping and rewriting with CSS in OCaml
Scrapy - Scrapy, a fast high-level web crawling & scraping framework for Python.
puppeteer - JavaScript API for Chrome and Firefox
playwright-dotnet - .NET version of the Playwright testing and automation library.