Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: do not use html cards with scripts

Pavel935aa0493c83
diff --git a/docs/src/clock.md b/docs/src/clock.md
index 05a15e2496..1b063f11b7 100644
--- a/docs/src/clock.md
+++ b/docs/src/clock.md
@@ -24,7 +24,7 @@ await page.clock.install({ now: new Date('2020-02-02') });
## Only fake Date.now
-```html card
+```html
<input type="datetime-local" id="my-time" data-testid="my-time">
<script>
const renderTime = () => {
@@ -95,7 +95,7 @@ await Expect(locator).ToHaveValueAsync("2024-01-01T10:00");
## Assert page at different points in time
-```html card
+```html
<input type="datetime-local" id="my-time" data-testid="my-time">
<script>
const renderTime = () => {