When you take a screenshot of an element by its selector, the API waits for that element to appear. With a timeout under 30 seconds, that wait took the whole request’s time. If the element never appeared, for example because the page changed, the request failed with a timeout error even though the page itself had loaded.
Now the wait ends a few seconds before the request times out, which leaves time to finish the render:
- the API takes the screenshot of the page without the element, as it already did with longer timeouts;
- or, if you asked for an error when the element isn’t found, it returns
selector_not_found, which says what went wrong.
Screenshots where the element appears in time aren’t affected, and requests with longer timeouts still wait up to 30 seconds for the element.

