package
0.0.0-20240920093258-0eb8b47e7929
Repository: https://github.com/ecwid/control.git
Documentation: pkg.go.dev

# Functions

Tells whether emulation is supported.
Clears the overridden device metrics.
Clears the overridden Geolocation Position and Error.
Clears Idle state overrides.
Requests that page scale factor is reset to initial values.
Automatically render all web contents using a dark theme.
Allows overriding the automation flag.
Enables CPU throttling to emulate slow CPUs.
Sets or clears an override of the default background color of the frame.
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).
*/.
*/.
*/.
Emulates the given media type or media feature for CSS media queries.
Emulates the given vision deficiency.
Enables or disables simulating a focused and active page.
Overrides the Geolocation Position or Error.
*/.
Overrides the Idle state.
Overrides default host system locale with the specified one.
Sets a specified page scale factor.
Switches script execution in the page.
*/.
Overrides default host system timezone with the specified one.
Enables touch on platforms which do not support them.
Allows overriding user agent with the given string.
Turns on virtual time for all frames (replacing real-time with a synthetic time source) and sets the current virtual time policy.

# Structs

No description provided by the author
*/.
*/.
Screen orientation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Used to specify User Agent Cient Hints to emulate.
Used to specify User Agent Cient Hints to emulate.

# Interfaces

Notification sent after the virtual time budget for the current VirtualTimePolicy has run out.

# Type aliases

Enum of image types that can be disabled.
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.