
Welcome to Day 5 of Firecrawl’s second Launch Week! Today, we’re excited to introduce two powerful new actions that will enhance your web scraping capabilities: Scrape and Wait for Selector.
Introducing the New Actions
Firecrawl allows you to perform various actions on a web page before scraping its content. This is particularly useful for interacting with dynamic content, navigating through pages, or accessing content that requires user interaction.
We’re excited to introduce two powerful new actions:
- Scrape: Capture the current page content at any point during your interaction sequence, returning both URL and HTML.
- Wait for Selector: Wait for a specific element to appear on the page before proceeding, ensuring more reliable automation.
Here’s how you can incorporate these new actions:
actions = [
{"type": "scrape"},
{"type": "wait", "selector": "#my-element"},
]
For more details about the actions parameters, refer to the API Reference.
Why Use These New Actions?
- Flexibility: Capture content at multiple points in your interaction flow.
- Reliability: Ensure elements are loaded before proceeding, reducing errors.
- Efficiency: Automate complex navigation and interactions seamlessly.
What’s Next?
That’s a wrap for Day 5 of Launch Week II! Happy scraping, and stay tuned for more exciting updates from Launch Week II!

data from the web