Back to Blog

Using Puppeteer for Automated Web Testing and other Nefarious Activities

Using Puppeteer for Automated Web Testing and other Nefarious Activities

Browser automation is incredibly powerful for web development, testing, and scraping. In October 2021, I delivered a GDG Presentation showcasing the capabilities of Puppeteer.

This session was a fun, interactive guide to browser automation. I demonstrated how to script headless Chrome browsers to perform automated tasks, run tests, and scrape dynamic single-page apps.

Key Takeaways:

  • Puppeteer Basics: Opening pages, clicking elements, and typing programmatically.
  • Automated Testing: Writing scripts to audit UI states, layouts, and input forms.
  • Web Scraping: Extracting data from modern SPAs that rely on JavaScript execution.
  • Automation Safety: Best practices for scripting responsibly and handling bot detection.

View the Presentation

View the presentation slides to start automating Chrome with Puppeteer.