Browserless | Headless browser automation, without the hosting headaches 🆒
Browserless allows remote clients to connect and execute headless work, all inside of docker. It supports the standard, unforked Puppeteer and Playwright libraries, as well offering REST-based APIs for common actions like data collection, PDF generation and more.✔
Sample 🐞:
[ GitHub ] : https://github.com/browserless/browserless
[ Website ] : https://www.browserless.io
〰️〰️〰️〰️〰️〰️
#E2E #Testing #Browserless #Docker
@ProgrammingTip
Browserless allows remote clients to connect and execute headless work, all inside of docker. It supports the standard, unforked Puppeteer and Playwright libraries, as well offering REST-based APIs for common actions like data collection, PDF generation and more.
Sample 🐞:
import puppeteer from "puppeteer";
// Try changing this! 👇
const URL = "https://t.me/s/ProgrammingTip";
const main = async () => {
const browser = await puppeteer.connect({
browserWSEndpoint: `wss://chrome.browserless.io`,
});
const page = await browser.newPage();
await page.goto(URL);
return page.screenshot();
}
[ GitHub ] : https://github.com/browserless/browserless
[ Website ] : https://www.browserless.io
〰️〰️〰️〰️〰️〰️
#E2E #Testing #Browserless #Docker
@ProgrammingTip
Please open Telegram to view this post
VIEW IN TELEGRAM
Telegram
Programming Tips Resources