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.
suite123runIdstringRequiredExample:
The ID of the test run.
run456Query parameters
detailedbooleanOptionalDefault:
If true, provides a structured response with detailed JSON objects per screenshot.
trueResponses
200
List of screenshots retrieved successfully.
application/json
Responseone of
string · uri[]OptionalExample:
List of screenshot URLs.
https://example.com/screenshots/screenshot123.pngget
/test_suites/{suiteId}/runs/{runId}/screenshotsGET /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