schickling / chromeless

🖥 Chrome automation made simple. Runs locally or headless on AWS Lambda.
https://chromeless.netlify.com
MIT License
13.25k stars 575 forks source link

Can Chrome be bundled? #247

Open chris-herring opened 7 years ago

chris-herring commented 7 years ago

Can Chrome be bundled or even included in a project as a binary and used from there by Chromeless?

I've been using phantomJS and I can include the binary in my project which works when deployed to Azure. So I'm looking for a similar solution that doesn't require a local install of Chrome.

davidthewatson commented 7 years ago

Puppeteer does this, so yes, Chromium can be bundled.

https://github.com/GoogleChrome/puppeteer

adieuadieu commented 7 years ago

We plan to switch Chromeless to use Puppeteer behind the scenes over the coming weeks. Once done, we'd get the bundled-Chrome for free.

trevordmiller commented 7 years ago

@adieuadieu I'm researching the differences between Puppeteer and Chromeless and struggling to understand - what does Chromeless provide on top of just using Puppeteer directly?

NicolasWebDev commented 7 years ago

@trevordmiller the most important feature it provides over Puppeteer is the possibility to execute the tests on AWS lambda.

reneses commented 7 years ago

Hi @adieuadieu! Do you have any updates regarding the switch to Puppeteer?

gajus commented 6 years ago

Hi @adieuadieu! Do you have any updates regarding the switch to Puppeteer?

I wouldn't rush it. I came here looking for alternatives to Puppeteer. Puppeteer is crawling with bugs, esp. the current stable release.

adieuadieu commented 6 years ago

I've been working upstream on the serverless-chrome project to improve and fix some issues there which directly affect/cause a number of issues in Chromeless (fonts, 5th-invocation-crash/reliability on lambda, etc) as well as automating builds for lambda so that we can all have shiney new chromium builds for our Lambda functions without having to think about it. After that's done (soon?) I'll swing back here and give Chromeless some more love.