Introducing /interact — Scrape and interact with a web page
Blog post from Firecrawl
Firecrawl's new /interact endpoint introduces a dynamic capability to its web scraping service by allowing users to interact with live browsers and perform actions such as clicking buttons, filling forms, navigating, and extracting data that is typically hidden behind interactive elements. Users can engage with these web pages using either natural language prompts or writing code in Node.js, Python, or Bash with full access to Playwright, enabling precise control over browser sessions. This feature supports persistent sessions that maintain state across interactions, facilitating tasks like logging in once and remaining authenticated throughout subsequent scrapes. The /interact endpoint also offers a live view feature for monitoring and embedding browser activity, enhancing the ability to automate complex workflows. By allowing users to interact with web pages beyond the initial static scrape, Firecrawl expands its functionality to include dynamic content extraction, offering a more comprehensive tool for data retrieval from the web.