1
3 Comments

How to programmatically fill out a form?

Does anyone have a recommended libraries for programmatically filling in forms on the web and accessing data behind them, preferably in Node?

on June 17, 2020
  1. 1

    Puppeteer or Playwrite.

  2. 1

    You should use puppeter (chrome over API).

  3. 1

    Depending on your detailed use case, you might find end-to-end test runners useful. They are built to programmatically navigate through entire screens and test for specific data. Popular ones are TestCafe and Cypress. They're not built for scraping, though, if that's what you're after.