Sparticuz / chromium

Chromium (x86-64) for Serverless Platforms
MIT License
846 stars 57 forks source link

[REQUEST] Update chromium version #281

Open supriyo-biswas opened 1 week ago

supriyo-biswas commented 1 week ago

I'd like to use a more recent version of Puppeteer, and would therefore like to have the latest version of Chromium (currently at 126.x as per https://pptr.dev/supported-browsers) for this purpose.

Thank you for this useful project!

Sparticuz commented 1 week ago

I've been having some issues compiling it but I am working on it

supriyo-biswas commented 1 week ago

Maybe you could tell us about the issues that you've faced so that I can help in any way I can?

Personally the issue I've faced is with cloning the Chromium sources; when I point it at the newest Puppeteer revision the process runs for quite a bit, before the Ansible script simply terminates (perhaps due to a timeout)?

stephankaag commented 5 days ago

I was able to compile Chromium for AWS Lambda on the ARM64 architecture (only Amazon Linux 2 for now, will build for Amazon Linux 2023 asap).

Amazon Linux 2 (NodeJS 16 & NodeJS 18): Download Chromium 120 (For Playwright v1.40.1 , v1.40.0 & Puppeteer v21.8.0) Download Chromium 121 (For Playwright v1.41.2 , v1.41.1 , v1.41.0 & Puppeteer v22.1.0 , v22.0.0 , v21.11.0 , v21.10.0 , v21.9.0)

Amazon Linux 2023 (NodeJS 20): Download Chromium 120 (For Playwright v1.40.1 , v1.40.0 & Puppeteer v21.8.0) Download Chromium 121 (For Playwright v1.41.2 , v1.41.1 , v1.41.0 & Puppeteer v22.1.0 , v22.0.0 , v21.11.0 , v21.10.0 , v21.9.0)

Sparticuz commented 4 days ago

It's an llmv compilation error. If you have working code for arm, I would appreciate a PR. Ive not had time to look into the issue.