Installs the fake clock, optionally at a specific time.
Optionaltime: ClockTime
Initial time. Omit to install at the current real time.
Install before navigating where possible, so the application sees the faked time from its first render.
PramanError with ERR_COMPAT_FEATURE_UNAVAILABLE when
Playwright predates 1.45.
Controls the browser clock for date-driven SAP tests.
Remarks
Call install first — the other methods throw until you do, because Playwright silently ignores clock control on an uninstalled clock, which is a confusing way to lose an afternoon.
Capability
ui5Clock.install
Example