Set Virtual Time Policy Request
data class SetVirtualTimePolicyRequest(policy: VirtualTimePolicy, budget: Double?, maxVirtualTimeTaskStarvationCount: Int?, waitForNavigation: Boolean?, initialVirtualTime: TimeSinceEpoch?)
Content copied to clipboard
Represents request frame that can be used with Emulation#setVirtualTimePolicy operation call.
Turns on virtual time for all frames (replacing real-time with a synthetic time source) and sets the current virtual time policy. Note this supersedes any previous time budget.
See also
Constructors
SetVirtualTimePolicyRequest
Link copied to clipboard
fun SetVirtualTimePolicyRequest(policy: VirtualTimePolicy, budget: Double? = null, maxVirtualTimeTaskStarvationCount: Int? = null, waitForNavigation: Boolean? = null, initialVirtualTime: TimeSinceEpoch? = null)
Content copied to clipboard
Properties
initialVirtualTime
Link copied to clipboard
maxVirtualTimeTaskStarvationCount
Link copied to clipboard
policy
Link copied to clipboard
waitForNavigation
Link copied to clipboard
Sources
jvm source
Link copied to clipboard