EmulationClient Class |
Namespace: CefSharp.DevTools.Emulation
The EmulationClient type exposes the following members.
Name | Description | |
---|---|---|
EmulationClient | Initializes a new instance of the EmulationClient class |
Name | Description | |
---|---|---|
CanEmulateAsync |
Tells whether emulation is supported.
| |
ClearDeviceMetricsOverrideAsync |
Clears the overriden device metrics.
| |
ClearGeolocationOverrideAsync |
Clears the overriden Geolocation Position and Error.
| |
ClearIdleOverrideAsync |
Clears Idle state overrides.
| |
EnumToString(Enum) | (Inherited from DevToolsDomainBase.) | |
EnumToString(PermissionType) | (Inherited from DevToolsDomainBase.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ResetPageScaleFactorAsync |
Requests that page scale factor is reset to initial values.
| |
SetCPUThrottlingRateAsync |
Enables CPU throttling to emulate slow CPUs.
| |
SetDefaultBackgroundColorOverrideAsync | ||
SetDeviceMetricsOverrideAsync | ||
SetDocumentCookieDisabledAsync |
SetDocumentCookieDisabled
| |
SetEmitTouchEventsForMouseAsync |
SetEmitTouchEventsForMouse
| |
SetEmulatedMediaAsync |
Emulates the given media type or media feature for CSS media queries.
| |
SetEmulatedVisionDeficiencyAsync |
Emulates the given vision deficiency.
| |
SetFocusEmulationEnabledAsync |
Enables or disables simulating a focused and active page.
| |
SetGeolocationOverrideAsync |
Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position
unavailable.
| |
SetIdleOverrideAsync |
Overrides the Idle state.
| |
SetLocaleOverrideAsync | ||
SetPageScaleFactorAsync |
Sets a specified page scale factor.
| |
SetScriptExecutionDisabledAsync |
Switches script execution in the page.
| |
SetScrollbarsHiddenAsync |
SetScrollbarsHidden
| |
SetTimezoneOverrideAsync | ||
SetTouchEmulationEnabledAsync |
Enables touch on platforms which do not support them.
| |
SetUserAgentOverrideAsync |
Allows overriding user agent with the given string.
| |
SetVirtualTimePolicyAsync | ||
ToBase64String | (Inherited from DevToolsDomainBase.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |