Skip to content

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

docs(input): fixed wrong example time value (#6988)

Max Schmitt048a38046254
diff --git a/docs/src/input.md b/docs/src/input.md
index 6c14ca76ec..0688951593 100644
--- a/docs/src/input.md
+++ b/docs/src/input.md
@@ -17,7 +17,7 @@ await page.fill('#name', 'Peter');
await page.fill('#date', '2020-02-02');
// Time input
-await page.fill('#time', '13-15');
+await page.fill('#time', '13:15');
// Local datetime input
await page.fill('#local', '2020-03-02T05:15');
@@ -51,7 +51,7 @@ await page.fill('#name', 'Peter')
await page.fill('#date', '2020-02-02')
# Time input
-await page.fill('#time', '13-15')
+await page.fill('#time', '13:15')
# Local datetime input
await page.fill('#local', '2020-03-02T05:15')
@@ -68,7 +68,7 @@ page.fill('#name', 'Peter')
page.fill('#date', '2020-02-02')
# Time input
-page.fill('#time', '13-15')
+page.fill('#time', '13:15')
# Local datetime input
page.fill('#local', '2020-03-02T05:15')