Allow using remote Chrome with puppeteer
See original GitHub issuePuppeteer allows connecting to chrome via a web socket or URL.
See: Puppeteer docs
This would disallow using args (they’d have to be added on the browser-side), though.
Proposal:
Add a remoteOptions
key to engineOptions
(or maybe a separate remote: bool
flag, too?); when this is filled, use await puppeteer.connect()
instead of puppeteer.launch()
.
Use cases:
- It would be beneficial mainly for dockerized environments, as it would be more in-line with the docker way (one process per container).
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Puppeteer: Chrome Remote Launch - node.js - Stack Overflow
To demonstrate what puppeteer is doing i want to launch a chrome in non headless mode on the host system. Is this possible?...
Read more >Connecting Puppeteer to Existing Chrome Window w - Medium
Right click on your Google Chrome shortcut icon => Properties; In Target field, add to the very end --remote-debugging-port=9222.
Read more >chrome-remote-interface - npm
const CDP = require('chrome-remote-interface'); async function example() { let client; try { // connect to endpoint client = await CDP(); // ...
Read more >Puppeteer API service for web scraping - Pixeljets
Okay, let's admit it - web scraping via Puppeteer and Playwright is the ... First and foremost: do not use real Chrome browser...
Read more >Browserless - #1 Web Automation & Headless Browser ...
Browserless is a web-service that allows for remote programs to connect, pilot, and execute headless browser tasks — all inside of docker. It...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is cool – thank you! I have some changes on the npm canary branch that need to be released. I will try to get those out next week, then we can merge these and put it out on the canary branch. More later. Cheers!
I’m interested in this as well. I’d like to leverage a service such as browserless.io instead of maintaining my own puppeteer locally. Happy to help with rebasing/amending the PR if it can be merged.