The new browser-based puppeteer REPL, and how we built it
docs.browserless.io
The new browser-based puppeteer REPL, and how we built it
1–10 of 32 posts
Re: The new browser-based puppeteer REPL, and how we built it
#2Re: The new browser-based puppeteer REPL, and how we built it
#3It's usable, but it's very aggravating and uncomfortable to use.
Re: The new browser-based puppeteer REPL, and how we built it
#4Hey, Joel here, mostly responsible for this tool. Happy to answer questions — one thing not well covered is getting puppeteer to run in the browser, especially a webworker. Can talk more about it if there’s interest!
> The application is written in TypeScript, and produces a static asset in the static directory once built.
What should I do with said artifact? How to put it to use?
Re: The new browser-based puppeteer REPL, and how we built it
#5Hey, Joel here, mostly responsible for this tool. Happy to answer questions — one thing not well covered is getting puppeteer to run in the browser, especially a webworker. Can talk more about it if there’s interest!
How to set up my own mirror/instance of chrome.browserless.io? Is there a step-by-step guide for it? The git repo just mentions: > The application is written in TypeScript, and produces a static asset in the static directory once built. What should I do with said artifact? How to put it to use?
https://github.com/browserless/chrome/blob/5627f1ef041ec23f3...
Re: The new browser-based puppeteer REPL, and how we built it
#6Hey, Joel here, mostly responsible for this tool. Happy to answer questions — one thing not well covered is getting puppeteer to run in the browser, especially a webworker. Can talk more about it if there’s interest!
Re: The new browser-based puppeteer REPL, and how we built it
#7Hey, Joel here, mostly responsible for this tool. Happy to answer questions — one thing not well covered is getting puppeteer to run in the browser, especially a webworker. Can talk more about it if there’s interest!
could you share why you chose puppeteer over playwright? thanks!
Re: The new browser-based puppeteer REPL, and how we built it
#8Is puppeteer running on a webserver then the repl connecting to it? Or is puppeteer completely contained within each users browser?
Re: The new browser-based puppeteer REPL, and how we built it
#9Hey, Joel here, mostly responsible for this tool. Happy to answer questions — one thing not well covered is getting puppeteer to run in the browser, especially a webworker. Can talk more about it if there’s interest!
As a web dev generalist, I can usually understand how most things work under the hood.
But playing with chrome.browserless.io breaks that. You're streaming the web page in a element, but how can I highlight text? When I load a youtube video page are you literally proxying the video through your infra, through pixels to my browser?
Who dictates what IP the headless chrome is assigned to? Do you have a lot of IPs? I noticed on some pages I'd get the CloudFlare captcha which makes sense if browserless has to cycle through a limited set of IPs where other people have been using it to scrape another cloudflare page.
Re: The new browser-based puppeteer REPL, and how we built it
#10I've used Puppeteer extensively and its the most unstable tool that I've come across in recent years. Its full of race conditions and the waitForSomething functions will sometimes work, sometimes not. It's usable, but it's very aggravating and uncomfortable to use.
But it seemed very solid overall and especially so compared to the selenium monstrosities I remember trying to fight (and giving up) some years prior ...