{"repo":"AnandChowdhary/puppet","free":true,"listed":false,"github":"https://github.com/AnandChowdhary/puppet","clone":"git clone https://github.com/AnandChowdhary/puppet.git","description":"🎭 Natural language web automation with Puppeteer","language":"TypeScript","stars":14,"topics":["puppeteer","chrome","chromium","scraper","web","typescript","automation"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"🎭 Puppet Natural-language web automation using Puppeteer. ⭐️ How it works Write in natural language (following the Commands section). For example, you can create a file with the following set of commands: path/to/download.puppet : Then, run the command: 💡 Usage CLI Install the package globally from npm: API Import and use the API: 🔫 Commands Navigation - Go to example.com - Navigate to URL https://example.com - Go to the page on example.com - Open www.example.com Timers - Wait for 10 seconds - Wait for 2 minutes - Wait for 100ms - Wait for navigation Screenshot - Take a screenshot of this page - Take a JPEG screenshot - Full screenshot this page - Make a transparent screenshot - Screenshot and omit the background Export page to PDF/HTML - Save this page as PDF - Save page HTML - Get the HTML - Save the whole page as PDF Save to file - Save result to path/to/file - Save this screenshot to path/to/file - Save this to the file path/to/file Mouse events - Click on point [123, 456] - Right click on coordinates 123, 456 - Move mouse cursor to points 123, 456 - Click on 123, 456 using middle mouse button 👩‍💻 Development Build TypeScript: Run unit tests and view coverage: Related work - Puppeteer is the headless Chrome API for Node.js - Archiver is the Internet Archive saver I made using Puppeteer - TagUI is a CLI for digital process automation (RPA) ✨ Contributors Thanks goes to these wonderful people (emoji key): Anand Chowdhary 🤔 💻 ⚠️ 📖 Gajus Kuizinas 🚇 This project follo","default_branch":null,"files":null,"tree":[],"storefront":"/r/AnandChowdhary","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AnandChowdhary/puppet/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."}