{"repo":"microlinkhq/browserless","free":true,"listed":false,"github":"https://github.com/microlinkhq/browserless","clone":"git clone https://github.com/microlinkhq/browserless.git","description":"The headless Chrome/Chromium driver on top of Puppeteer. Take screenshots, generate PDFs, extract text and HTML with a production-ready API.","language":"JavaScript","stars":1830,"topics":["automation","chromium","screenshot","web-scraping","browser","browserless","chrome","headless","html","javascript"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"The headless Chrome/Chromium driver on top of Puppeteer. - Highlights - Installation - Usage - The cloud API solution - CLI - Initializing a browser - .constructor(options) - .createContext(options) - .browser() - .respawn() - .close() - Built-in - .html(url, options) - .text(url, options) - .pdf(url, options) - .screenshot(url, options) - .destroyContext(options) - .getDevice(options) - .evaluate(fn, gotoOpts) - .goto(page, options) - .context() - [.withPage(fn, \\[options\\])](#withpagefn-options) - [.page(\\[name\\])](#pagename) - Extended - function - lighthouse - screencast - Packages - FAQ - License --- Highlights - Compatible with Puppeteer API (text, screenshot, html, pdf). - Built-in adblocker for canceling unnecessary requests. - Shell interaction via Browserless CLI. - Easy Google Lighthouse integration. - Automatic retry & error handling. - Sensible good defaults. Installation You can install it via npm: Browserless runs on top of Puppeteer, so you need that installed to get started. You can choose between puppeteer and puppeteer-core depending on your use case. Usage Here is a complete example showcasing some Browserless capabilities: As you can see, Browserless uses a single browser process, allowing you to create and destroy multiple browser contexts within that same process. If you're already using Puppeteer in your project, you can layer Browserless on top simply by installing it. You can also include additional Browserless packages to suit your specific needs, a","default_branch":null,"files":null,"tree":[],"storefront":"/r/microlinkhq","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/microlinkhq/browserless/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}