{"repo":"xvrh/puppeteer-dart","free":true,"listed":false,"github":"https://github.com/xvrh/puppeteer-dart","clone":"git clone https://github.com/xvrh/puppeteer-dart.git","description":"A Dart library to automate the Chrome browser over the DevTools Protocol. This is a port of the Puppeteer API","language":"Dart","stars":259,"topics":["headless-chrome","devtools-protocol","puppeteer","dart","screenshot","pdf"],"license":"BSD-3-Clause","category":"scrapers-browser-automation","readme_excerpt":"Puppeteer in Dart A Dart library to automate the Chrome browser over the DevTools Protocol. This is a port of the Puppeteer Node.JS library in the Dart language. What can I do? Most things that you can do manually in the browser can be done using Puppeteer! Here are a few examples to get you started: Generate screenshots and PDFs of pages. Crawl a SPA (Single-Page Application) and generate pre-rendered content (i.e. \"SSR\" (Server-Side Rendering)). Automate form submission, UI testing, keyboard input, etc. Create an up-to-date, automated testing environment. Run your tests directly in the latest version of Chrome using the latest JavaScript and browser features. Flutter See limitations with Flutter section. API See the full API in a single-page document: doc/api.md See the Dart Doc for this package: API reference The Dart version of Puppeteer is very similar to the original Javascript code. Every sample available for Puppeteer Node.JS could be converted in Dart very easily. Examples Launch chrome Generate a PDF from an HTML page Take a screenshot of a page Take a screenshot of an element in a page Create a static version of a Single Page Application Capture a screencast of the page Use locators to interact with the page Execute JavaScript code Launch Chrome Download the last revision of chrome and launch it. Generate a PDF from a page Take a screenshot of a complete HTML page Take a screenshot of a specific node in the page Interact with the page and scrap content Use locators","default_branch":null,"files":null,"tree":[],"storefront":"/r/xvrh","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/xvrh/puppeteer-dart/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."}