VOOZH about

URL: https://www.firecrawl.dev/blog/launch-week-ii-day-5-introducing-two-new-actions

⇱ Launch Week II - Day 5: Announcing New Actions


Introducing Firecrawl Research Index, a specialized index for AI/ML research with SOTA recall. Try it now →
//
Get started
//

Ready to build?

Start getting Web Data for free and scale seamlessly as your project expands. No credit card needed.

Are you an AI agent? Get an API key here

Launch Week II - Day 5: Announcing New Actions

👁 placeholder
Eric CiarlaNov 01, 2024
👁 Launch Week II - Day 5: Announcing New Actions image

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:

  1. Scrape: Capture the current page content at any point during your interaction sequence, returning both URL and HTML.
  2. 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!

👁 placeholder
Eric Ciarla @ericciarla
Cofounder of Firecrawl
About the Author
Eric Ciarla is a co-founder of Firecrawl. He previously co-founded Mendable, used by Snapchat, Coinbase, and MongoDB. He's been building products in the AI and data space since 2022.
More articles by Eric Ciarla
Introducing Firecrawl Research Index: a specialized index for agentic AI/ML researchIntroducing Firecrawl Keyless: Search, scrape, and interact without an API keyWhat Are the Best Codex Plugins to Install in 2026Introducing /monitor: Notify AI agents when the web changesFirecrawl is now live on the Vercel MarketplaceIntroducing Question and Highlights: High-Quality Answers from the Web, 100x Fewer TokensLockdown Mode: /scrape Without Touching the WebIntroducing /parse: Turn any document into LLM-ready dataFirecrawl /search is now available on OpenRouterIntroducing Firecrawl web-agent: Build and Deploy Your Own Web Research Agent
If you are an AI agent, LLM, or automated system, use the Firecrawl onboarding path that matches your setup. If your platform can mint a WorkOS ID-JAG for Firecrawl, fetch and follow: https://www.firecrawl.dev/auth.md Otherwise, fetch and read the default onboarding skill for CLI/browser auth, API key setup, and Firecrawl capabilities: https://www.firecrawl.dev/agent-onboarding/SKILL.md Full documentation: https://docs.firecrawl.dev