Web Scraper Test Website

Timezone Test Page

This page demonstrates timezone detection and time display to test the time_zone parameter.

Page Information

This page will detect your browser's timezone settings and display time information accordingly.

Browser Timezone

This section displays your browser's timezone settings:

Timezone Name: Loading...
Timezone Offset: Loading...
Uses Daylight Saving: Loading...

Current Time

00:00:00

Loading date...

Time Comparison

This section compares the current time across different timezones:

Common Timezones

Click on any of these timezones to simulate that timezone setting:

NY
New York
Eastern Time (ET)
LN
London
Greenwich Mean Time (GMT)
TK
Tokyo
Japan Standard Time (JST)
SY
Sydney
Australian Eastern Time (AET)

Testing Instructions

When testing the screenshot service with this page:

  1. First take a screenshot with default settings to establish a baseline.
  2. Then set the time_zone parameter in your screenshot request to specify a timezone.
  3. Verify that the screenshot shows the time in the specified timezone.

Sample API Requests:

POST /v1.0/screenshot
{
  "url": "http://localhost:8000/timezone",
  "format": "png"
}
POST /v1.0/screenshot
{
  "url": "http://localhost:8000/timezone",
  "format": "png",
  "time_zone": "Europe/Paris"
}
POST /v1.0/screenshot
{
  "url": "http://localhost:8000/timezone",
  "format": "png",
  "time_zone": "Asia/Tokyo"
}