Serverless Chrome contains everything you need to get started running headless Chrome on AWS Lambda (possibly Azure and GCP Functions soon). The aim of this project is to provide the scaffolding for using Headless Chrome during a serverless function invocation. Serverless Chrome takes care of building and bundling the Chrome binaries and making sure Chrome is running when your serverless function executes. In addition, this project also provides a few example services for common patterns (e.g. taking a screenshot of a page, printing to PDF, some scraping, etc.). Why? Because it's neat. It also opens up interesting possibilities for using the Chrome DevTools Protocol (and tools like Chromeless or Puppeteer) in serverless architectures and doing testing/CI, web-scraping, pre-rendering, etc. You must configure your AWS credentials either by defining AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environmental variables, or using an AWS profile.

Features

  • Build Headless Chrome/Chromium
  • Test with npm test
  • Automated, regularly prebuilt binaries can be found on the Releases page
  • Support for Google Cloud Functions
  • Support for Azure Functions
  • DOM manipulation and scraping example handler

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow serverless-chrome

serverless-chrome Web Site

Other Useful Business Software
Sales CRM and Pipeline Management Software | Pipedrive Icon
Sales CRM and Pipeline Management Software | Pipedrive

The easy and effective CRM for closing deals

Pipedrive’s simple interface empowers salespeople to streamline workflows and unite sales tasks in one workspace. Unlock instant sales insights with Pipedrive’s visual sales pipeline and fine-tune your strategy with robust reporting features and a personalized AI Sales Assistant.
Try it for free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of serverless-chrome!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Frameworks, JavaScript Cloud Services Software, JavaScript Web Scrapers

Registered

2022-04-01