Puppeteer is a JavaScript library which provides a high-level API to automate both Chrome and Firefox over the Chrome DevTools Protocol and WebDriver BiDi.

Use it to automate anything in the browser, from taking screenshots and generating PDFs to navigating through and testing complex UIs and analysing performance.

Concepts

Query DOM elements, click buttons, type text, and more.
Intercept and modify network requests and responses.
Get visual snapshots of full pages or specific elements.
Learn about headless, headful and shell modes and when to use them.

Blog posts

Read the most recent blog posts touching on Puppeteer, Chrome For Testing and WebDriver BiDi.

Puppeteer 23 wprowadza stabilną obsługę przeglądarki Firefox w wersji 129 i nowszych, oferując ujednolicony interfejs API dla przeglądarek Chrome i Firefox, oparty na technologii WebDriver BiDi.

BrowserStack z funkcją WebDriver BiDi (obsługę BiDi) umożliwia lepsze działanie testów siatki Selenium dzięki automatyzacji opartej na zdarzeniach.

Krótkie omówienie narzędzi Puppeteer, Chrome Headless i Chrome for Testing oraz inne zasoby stworzone przez zespół ds. narzędzi Chrome.