Screenshots
You can access all screenshots taken during a test run via API. This is handy for running Snapshot comparisons with a screenshot baseline. If you set the query parameter detailed
the endpoint will return more data per screenshot.
Returns an array of screenshot URLs or structured JSON objects taken during the specific run.
Path parameters
suiteIdstringRequiredExample:
The ID of the test suite.
suite123
runIdstringRequiredExample:
The ID of the test run.
run456
Query parameters
detailedbooleanOptionalDefault:
If true, provides a structured response with detailed JSON objects per screenshot.
true
Responses
200
List of screenshots retrieved successfully.
application/json
Responseone of
string · uri[]OptionalExample:
List of screenshot URLs.
https://example.com/screenshots/screenshot123.png
get
GET /test_suites/{suiteId}/runs/{runId}/screenshots HTTP/1.1
Host:
Accept: */*
200
List of screenshots retrieved successfully.
[
"https://example.com/screenshots/screenshot123.png"
]
Last updated