StrikekitStrikekit

set clock

Install Playwright clock and fix time to an ISO-8601 datetime

Install Playwright's clock and fix the browser time to an ISO-8601 RFC3339 datetime. Useful with booking flows and generate date tests.

Syntax

When I set clock to "<datetime>"

Qualifiers

QualifierRoleExample
toFixed ISO-8601 datetimeset clock to "2026-06-15T09:00:00.000Z"

Examples

When I set clock to "2026-06-15T09:00:00.000Z"

Notes

  • Web only. Appium / Platform: api return unsupported.

On this page