Web Scraper Test Website

User Agent Detection

This page displays information about the browser's user agent string and device characteristics.

Page Information

This page will analyze the user agent string and display information about the browser and device.

Your User Agent

Loading...

Browser Information

  • Browser: Loading...
  • Version: Loading...
  • Engine: Loading...

Device Information

  • Device Type: Loading...
  • Operating System: Loading...
  • OS Version: Loading...

Testing Instructions

When testing the screenshot service with this page:

  1. First take a screenshot with the default user agent to establish a baseline.
  2. Then set the user_agent parameter in your screenshot request to a different value.
  3. Verify that the screenshot shows the updated user agent information.

Sample API Requests:

POST /v1.0/screenshot
{
  "url": "http://localhost:8000/detect-user-agent",
  "format": "png"
}
POST /v1.0/screenshot
{
  "url": "http://localhost:8000/detect-user-agent",
  "format": "png",
  "user_agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1"
}

Sample User Agents

Here are some sample user agent strings you can use for testing:

Mobile Devices

Desktop Browsers

Bots