Skip to main content
Form behind a login wall, like a job application? See Fill Out and Submit a Form, Including a Job Application — same pattern, plus Vault credentials so the login password never ends up in the goal text.

Basic Example

Fill and submit a contact form:
Output:

Multi-Step Form

Handle multi-step forms in a single goal:

Tips

  • Use stealth mode for login/signup forms
  • Be explicit about field values in your goal
  • Describe buttons by their text (“click ‘Submit’”)
  • Handle multi-step forms in one goal

Try It

1

Save the code

Save any example above as form.ts
2

Set your API key

export TINYFISH_API_KEY="your_api_key"
3

Run it

npx tsx form.ts

Web Scraping

Extract data from pages

Run SSE API

Complete API docs