mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.7 KiB
1.7 KiB
Home > puppeteer > Protocol > Emulation > SetVirtualTimePolicyRequest
Protocol.Emulation.SetVirtualTimePolicyRequest interface
Signature:
export interface SetVirtualTimePolicyRequest
Properties
Property | Type | Description |
---|---|---|
budget | number | If set, after this many virtual milliseconds have elapsed virtual time will be paused and a virtualTimeBudgetExpired event is sent. |
initialVirtualTime | Network.TimeSinceEpoch | If set, base::Time::Now will be overriden to initially return this value. |
maxVirtualTimeTaskStarvationCount | integer | If set this specifies the maximum number of tasks that can be run before virtual is forced forwards to prevent deadlock. |
policy | VirtualTimePolicy | |
waitForNavigation | boolean | If set the virtual time policy change should be deferred until any frame starts navigating. Note any previous deferred policy change is superseded. |