Screenshot Examples · Example 3 of 5 in Browser Settings
A Custom User Agent
A capture with a custom user agent (user_agent): the browser introduces itself as Firefox on Linux.
Asks for a capture with the browser's user agent set to Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0 (user_agent).
The user agent is the name a browser sends in the User-Agent header and shows to scripts. Some sites serve other content to other browsers, or block agents they do not know; here the capture succeeded (connection_status: success) and redirected_url is the usual https://www.deepinfo.com/. For a phone layout, use mobile=true, which also switches to a phone-sized viewport.
Request
What this example sends. Every parameter is documented on Screenshot; the exact request is in the code panel.
| Parameter | Value |
|---|---|
urlquery | https://www.deepinfo.com |
user_query | Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0 |