pl.wendigo.chrome.api.emulation

Package pl.wendigo.chrome.api.emulation

Contains DevTools Protocol Emulation domain implementation accessible via EmulationOperations class.

Types

CanEmulateResponse

data class CanEmulateResponse

Represents response frame that is returned from Emulation#canEmulate operation call. Tells whether emulation is supported.

EmulationOperations

class EmulationOperations

This domain emulates different environments for the page.

MediaFeature

data class MediaFeature

ScreenOrientation

data class ScreenOrientation

Screen orientation.

SetCPUThrottlingRateRequest

data class SetCPUThrottlingRateRequest

Represents request frame that can be used with Emulation#setCPUThrottlingRate operation call.

SetDefaultBackgroundColorOverrideRequest

data class SetDefaultBackgroundColorOverrideRequest

Represents request frame that can be used with Emulation#setDefaultBackgroundColorOverride operation call.

SetDeviceMetricsOverrideRequest

data class SetDeviceMetricsOverrideRequest

Represents request frame that can be used with Emulation#setDeviceMetricsOverride operation call.

SetDocumentCookieDisabledRequest

data class SetDocumentCookieDisabledRequest

Represents request frame that can be used with Emulation#setDocumentCookieDisabled operation call.

SetEmitTouchEventsForMouseRequest

data class SetEmitTouchEventsForMouseRequest

Represents request frame that can be used with Emulation#setEmitTouchEventsForMouse operation call.

SetEmulatedMediaRequest

data class SetEmulatedMediaRequest

Represents request frame that can be used with Emulation#setEmulatedMedia operation call.

SetFocusEmulationEnabledRequest

data class SetFocusEmulationEnabledRequest

Represents request frame that can be used with Emulation#setFocusEmulationEnabled operation call.

SetGeolocationOverrideRequest

data class SetGeolocationOverrideRequest

Represents request frame that can be used with Emulation#setGeolocationOverride operation call.

SetNavigatorOverridesRequest

data class SetNavigatorOverridesRequest

Represents request frame that can be used with Emulation#setNavigatorOverrides operation call.

SetPageScaleFactorRequest

data class SetPageScaleFactorRequest

Represents request frame that can be used with Emulation#setPageScaleFactor operation call.

SetScriptExecutionDisabledRequest

data class SetScriptExecutionDisabledRequest

Represents request frame that can be used with Emulation#setScriptExecutionDisabled operation call.

SetScrollbarsHiddenRequest

data class SetScrollbarsHiddenRequest

Represents request frame that can be used with Emulation#setScrollbarsHidden operation call.

SetTimezoneOverrideRequest

data class SetTimezoneOverrideRequest

Represents request frame that can be used with Emulation#setTimezoneOverride operation call.

SetTouchEmulationEnabledRequest

data class SetTouchEmulationEnabledRequest

Represents request frame that can be used with Emulation#setTouchEmulationEnabled operation call.

SetUserAgentOverrideRequest

data class SetUserAgentOverrideRequest

Represents request frame that can be used with Emulation#setUserAgentOverride operation call.

SetVirtualTimePolicyRequest

data class SetVirtualTimePolicyRequest

Represents request frame that can be used with Emulation#setVirtualTimePolicy operation call.

SetVirtualTimePolicyResponse

data class SetVirtualTimePolicyResponse

Represents response frame that is returned from 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.

SetVisibleSizeRequest

data class SetVisibleSizeRequest

Represents request frame that can be used with Emulation#setVisibleSize operation call.

VirtualTimePolicy

enum class VirtualTimePolicy

advance: If the scheduler runs out of immediate work, the virtual time base may fast forward to allow the next delayed task (if any) to run; pause: The virtual time base may not advance; pauseIfNetworkFetchesPending: The virtual time base may not advance if there are any pending resource fetches.