Update clock.md

This commit is contained in:
Max Schmitt 2024-06-04 18:47:30 +02:00 committed by GitHub
parent 1b2841facc
commit 3e1545894c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -202,7 +202,7 @@ await page.goto('http://localhost:3333');
// Tick through time manually, firing all timers in the process.
// In this case, time will be updated in the screen 2 times.
await page.clock.runFor(2000);
await expect(locator).to_have_text('2/2/2024, 10:00:02 AM')
await expect(locator).to_have_text('2/2/2024, 10:00:02 AM');
```
```python async