Create Browser Session
Create a new websocket session
The following features are currently experimental:
- Proxies
- CAPTCHA Solving
If you run into any issues, please report back to us through mail or use support center on the bottom right.
Use the websocket_url
field of the response from this endpoint to connect to the browser session using frameworks like playwright.
Authorizations
Body
The raccoon passcode associated with the end user on behalf of which the call is being made if any.
"<end-user-raccoon-passcode>"
The entrypoint url for the session.
"https://www.google.com"
The type of browser to use. Supported values include 'chromium', 'firefox', and 'webkit'.
chromium
, firefox
, webkit
"chromium"
Configuration settings for the browser, such as viewport size and User-Agent string.
{
"locales": ["en-US", "fr-FR"],
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36",
"viewport": { "height": 720, "width": 1280 }
}
Advanced configuration options for the session, such as ad-blocking and CAPTCHA solving.
{
"block_ads": true,
"proxy": {
"city": "sanfrancisco",
"country": "us",
"state": "ca",
"zip": 94102
},
"solve_captchas": true
}
Whether to run the browser in headless mode.
true
The timeout for the browser session in seconds.
600
Response
A unique identifier for the created session.
"session_12345"
The WebSocket URL for interacting with the session.
"wss://connect.flyingraccoon.tech/ws/6000?sessionId=session_12345"
The Livestream URL
"https://api.flyingraccoon.tech/sessions/session_12345/stream?enable_actions=true&theme=dark"
The current status of the session.
starting
, running
, terminated
, completed
, unknown
, success
, failure
"running"
Was this page helpful?