Module chrome_remote_interface_model::emulation [−][src]
This domain emulates different environments for the page.
Structs
CanEmulateCommand | Tells whether emulation is supported. |
CanEmulateReturn | Tells whether emulation is supported. |
ClearDeviceMetricsOverrideCommand | Clears the overriden device metrics. |
ClearDeviceMetricsOverrideReturn | Clears the overriden device metrics. |
ClearGeolocationOverrideCommand | Clears the overriden Geolocation Position and Error. |
ClearGeolocationOverrideReturn | Clears the overriden Geolocation Position and Error. |
ClearIdleOverrideCommand | Clears Idle state overrides. |
ClearIdleOverrideReturn | Clears Idle state overrides. |
DisplayFeature | |
MediaFeature | |
ResetPageScaleFactorCommand | Requests that page scale factor is reset to initial values. |
ResetPageScaleFactorReturn | Requests that page scale factor is reset to initial values. |
ScreenOrientation | Screen orientation. |
SetCpuThrottlingRateCommand | Enables CPU throttling to emulate slow CPUs. |
SetCpuThrottlingRateReturn | Enables CPU throttling to emulate slow CPUs. |
SetDefaultBackgroundColorOverrideCommand | Sets or clears an override of the default background color of the frame. This override is used if the content does not specify one. |
SetDefaultBackgroundColorOverrideReturn | Sets or clears an override of the default background color of the frame. This override is used if the content does not specify one. |
SetDeviceMetricsOverrideCommand | Overrides the values of device screen dimensions (window.screen.width, window.screen.height, window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media query results). |
SetDeviceMetricsOverrideCommandBuilder | |
SetDeviceMetricsOverrideReturn | Overrides the values of device screen dimensions (window.screen.width, window.screen.height, window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media query results). |
SetDisabledImageTypesCommand | |
SetDisabledImageTypesReturn | |
SetDocumentCookieDisabledCommand | |
SetDocumentCookieDisabledReturn | |
SetEmitTouchEventsForMouseCommand | |
SetEmitTouchEventsForMouseReturn | |
SetEmulatedMediaCommand | Emulates the given media type or media feature for CSS media queries. |
SetEmulatedMediaReturn | Emulates the given media type or media feature for CSS media queries. |
SetEmulatedVisionDeficiencyCommand | Emulates the given vision deficiency. |
SetEmulatedVisionDeficiencyReturn | Emulates the given vision deficiency. |
SetFocusEmulationEnabledCommand | Enables or disables simulating a focused and active page. |
SetFocusEmulationEnabledReturn | Enables or disables simulating a focused and active page. |
SetGeolocationOverrideCommand | Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position unavailable. |
SetGeolocationOverrideReturn | Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position unavailable. |
SetIdleOverrideCommand | Overrides the Idle state. |
SetIdleOverrideReturn | Overrides the Idle state. |
SetLocaleOverrideCommand | Overrides default host system locale with the specified one. |
SetLocaleOverrideReturn | Overrides default host system locale with the specified one. |
SetNavigatorOverridesCommand | Deprecated Overrides value returned by the javascript navigator object. |
SetNavigatorOverridesReturn | Deprecated Overrides value returned by the javascript navigator object. |
SetPageScaleFactorCommand | Sets a specified page scale factor. |
SetPageScaleFactorReturn | Sets a specified page scale factor. |
SetScriptExecutionDisabledCommand | Switches script execution in the page. |
SetScriptExecutionDisabledReturn | Switches script execution in the page. |
SetScrollbarsHiddenCommand | |
SetScrollbarsHiddenReturn | |
SetTimezoneOverrideCommand | Overrides default host system timezone with the specified one. |
SetTimezoneOverrideReturn | Overrides default host system timezone with the specified one. |
SetTouchEmulationEnabledCommand | Enables touch on platforms which do not support them. |
SetTouchEmulationEnabledReturn | Enables touch on platforms which do not support them. |
SetUserAgentOverrideCommand | Allows overriding user agent with the given string. |
SetUserAgentOverrideCommandBuilder | |
SetUserAgentOverrideReturn | Allows overriding user agent with the given string. |
SetVirtualTimePolicyCommand | 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. |
SetVirtualTimePolicyCommandBuilder | |
SetVirtualTimePolicyReturn | 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. |
SetVisibleSizeCommand | Deprecated Resizes the frame/viewport of the page. Note that this does not affect the frame's container (e.g. browser window). Can be used to produce screenshots of the specified size. Not supported on Android. |
SetVisibleSizeReturn | Deprecated Resizes the frame/viewport of the page. Note that this does not affect the frame's container (e.g. browser window). Can be used to produce screenshots of the specified size. Not supported on Android. |
UserAgentBrandVersion | Used to specify User Agent Cient Hints to emulate. See https://wicg.github.io/ua-client-hints |
UserAgentMetadata | Used to specify User Agent Cient Hints to emulate. See https://wicg.github.io/ua-client-hints |
UserAgentMetadataBuilder | |
VirtualTimeBudgetExpiredEvent | Notification sent after the virtual time budget for the current VirtualTimePolicy has run out. |
Enums
DisabledImageType | |
DisplayFeatureOrientation | |
ScreenOrientationType | |
SetEmitTouchEventsForMouseCommandConfiguration | |
SetEmulatedVisionDeficiencyCommandType | |
VirtualTimePolicy |