Scrape
Scrape the content of a given URL within the session’s environment. If a session_id is not provided, a new session is created. If a session_id is provided and no url is provided, the current page in the session is scraped.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
The minimum number of actions to list before stopping. If not provided, the listing will continue until the maximum number of actions is reached.
The maximum number of actions to list after which the listing will stop. Used when min_nb_actions is not provided.
The ID of the session. A new session is created when not provided.
If True, the session will not be closed after the operation is completed.
Session timeout in minutes. Cannot exceed the global timeout.
0 < x <= 30
Whether to include a screenshot in the response.
The URL to observe. If not provided, uses the current page URL.
Whether to scrape images from the page. Images are not scraped by default.
Whether to only scrape the main content of the page. If True, navbars, footers, etc. are excluded.
Response
Browser session information
Metadata of the current page, i.e url, page title, snapshot timestamp.
Base64 encoded screenshot of the current page
Extracted data from the page
Available actions in the current state