round #2
This commit is contained in:
parent
e271aa9f7f
commit
56a99364f7
|
|
@ -249,7 +249,9 @@ Time to be set.
|
|||
## async method: Clock.setSystemTime
|
||||
* since: v1.45
|
||||
|
||||
Sets current system time without pausing, but does not trigger any timers. You most likely don't need this.
|
||||
Sets system time, but does not trigger any timers. Use this to test how the web page reacts to a time shift, for example switching from summer to winter time, or changing time zones.
|
||||
|
||||
Don't use together with [`method: Clock.install`]. Read docs on [clock emulation](../clock.md) to learn more.
|
||||
|
||||
**Usage**
|
||||
|
||||
|
|
|
|||
6
packages/playwright-core/types/types.d.ts
vendored
6
packages/playwright-core/types/types.d.ts
vendored
|
|
@ -18555,7 +18555,11 @@ export interface Clock {
|
|||
setFixedTime(time: number|string|Date): Promise<void>;
|
||||
|
||||
/**
|
||||
* Sets current system time without pausing, but does not trigger any timers. You most likely don't need this.
|
||||
* Sets system time, but does not trigger any timers. Use this to test how the web page reacts to a time shift, for
|
||||
* example switching from summer to winter time, or changing time zones.
|
||||
*
|
||||
* Don't use together with [clock.install([options])](https://playwright.dev/docs/api/class-clock#clock-install). Read
|
||||
* docs on [clock emulation](https://playwright.dev/docs/clock) to learn more.
|
||||
*
|
||||
* **Usage**
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue