--- name: Playwright - Clock API description: "This sample demonstrates how to test a clock using Playwright's clock API with fixed time, manually advancing time and testing inactivity monitoring" page_type: sample languages: - typescript - javascript products: - playwright urlFragment: clock --- # Clock API This sample demonstrates how to test a clock using Playwright's clock API with fixed time, manually advancing time and testing inactivity monitoring. For more information about the sample see: - [Clock guide](https://playwright.dev/docs/clock) - [Release video on the Clock API](https://youtu.be/54_aC-rVKHg)