Browser | Clear Logs
Clears all logs for the specified session.
post
Parameter
Field |
Type |
Description |
sessionId
|
String
|
Session's unique identifier
|
Success 200
Field |
Type |
Description |
success
|
Boolean
|
Operation success status
|
Error 500
Name |
Type |
Description |
error
|
Object
|
Error object with message
|
Browser | Get Console Logs
Retrieves filtered console logs from the browser session.
get
Parameter
Field |
Type |
Description |
sessionId
|
String
|
Session's unique identifier
|
Query Parameter(s)
Field |
Type |
Description |
levels.error
optional
|
Boolean |
Include error logs
Default value: true
|
levels.warning
optional
|
Boolean |
Include warning logs
Default value: false
|
levels.info
optional
|
Boolean |
Include info logs
Default value: false
|
levels.trace
optional
|
Boolean |
Include trace logs
Default value: false
|
includeStringFilters
optional
|
String[] |
Array of strings to include (matches message, path, type)
|
excludeStringFilters
optional
|
String[] |
Array of strings to exclude (matches message, path, type)
|
startTime
optional
|
String |
Filter logs after this ISO timestamp
|
endTime
optional
|
String |
Filter logs before this ISO timestamp
|
truncateLength
optional
|
Number |
Maximum length for log messages before truncation
Default value: 500
|
Success 200
Field |
Type |
Description |
logs
|
Object[]
|
Filtered console logs
|
Error 500
Name |
Type |
Description |
error
|
Object
|
Error object with message
|
Browser | Get DOM State
Retrieves the current DOM state as HTML.
get
Parameter
Field |
Type |
Description |
sessionId
|
String
|
Session's unique identifier
|
Success 200
Field |
Type |
Description |
state
|
Object
|
Current page HTML
|
Error 500
Name |
Type |
Description |
error
|
Object
|
Error object with message
|
Browser | Get Network Logs
Retrieves filtered network request/response logs.
get
Parameter
Field |
Type |
Description |
sessionId
|
String
|
Session's unique identifier
|
Query Parameter(s)
Field |
Type |
Description |
includeHeaders
optional
|
Boolean |
Include request/response headers
Default value: false
|
includeBody
optional
|
Boolean |
Include request/response bodies
Default value: true
|
includeInfo
optional
|
Boolean |
Include informational responses (100-199)
Default value: true
|
includeSuccess
optional
|
Boolean |
Include successful responses (200-299)
Default value: true
|
includeRedirect
optional
|
Boolean |
Include redirection responses (300-399)
Default value: true
|
includeClientError
optional
|
Boolean |
Include client error responses (400-499)
Default value: true
|
includeServerError
optional
|
Boolean |
Include server error responses (500-599)
Default value: true
|
includeStringFilters
optional
|
String[] |
Array of strings to include (matches URL, method, or headers)
|
excludeStringFilters
optional
|
String[] |
Array of strings to exclude (matches URL, method, or headers)
|
startTime
optional
|
String |
Filter logs after this ISO timestamp
|
endTime
optional
|
String |
Filter logs before this ISO timestamp
|
truncateLength
optional
|
Number |
Maximum length for request/response bodies before truncation
Default value: 500
|
Success 200
Field |
Type |
Description |
logs
|
Object[]
|
Filtered network logs
|
Browser | Navigate Browser
Navigates the browser to a specified URL with network idle waiting.
post
Parameter
Field |
Type |
Description |
sessionId
|
String
|
Session's unique identifier
|
Request Body
Field |
Type |
Description |
url
|
String |
URL to navigate to
|
Success 200
Field |
Type |
Description |
success
|
Boolean
|
Indicates if operation was successful
|
url
|
String
|
Current browser URL after navigation
|
Error 400
Name |
Type |
Description |
error
|
Object
|
URL is required
|
Error 500
Name |
Type |
Description |
error
|
Object
|
Error object with message and optional stack trace
|
Browser | Observe Page
Analyzes the page and returns possible actions based on content.
post
Parameter
Field |
Type |
Description |
sessionId
|
String
|
Session's unique identifier
|
Request Body
Field |
Type |
Description |
instruction
optional
|
String |
Optional instruction to guide observation
|
useVision
optional
|
String |
Vision mode: 'fallback'
Default value: fallback
|
modelName
optional
|
String |
Optional AI model name to use
|
Success 200
Field |
Type |
Description |
actions
|
Object
|
List of possible actions and observations
|
Error 500
Name |
Type |
Description |
error
|
Object
|
Error object with message
|
Browser | Take Screenshot
Captures a screenshot of the current page state.
post
Parameter
Field |
Type |
Description |
sessionId
|
String
|
Session's unique identifier
|
Success 200
Field |
Type |
Description |
image
|
Binary
|
JPEG image data
|
Error 500
Name |
Type |
Description |
error
|
Object
|
Error object with message
|