AI agent instructions
AI agent instructions
session.scrape method that automatically starts a new session, goes to the given URL, and scrapes the page.
Example:
Parameters
Returns
StructuredData[BaseModel] | BaseModel | Dict[str, Any] | str: Extracted data as structured data, markdown text, or a StructuredData wrapper when raise_on_failure=False.