Click or drag to resize

BrowserClient Class

Version 130.1.90
The Browser domain defines methods and events for browser managing.
Inheritance Hierarchy
SystemObject
  CefSharp.DevToolsDevToolsDomainBase
    CefSharp.DevTools.BrowserBrowserClient

Namespace: CefSharp.DevTools.Browser
Assembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public class BrowserClient : DevToolsDomainBase

The BrowserClient type exposes the following members.

Constructors
 NameDescription
Public methodBrowserClient Browser
Top
Methods
 NameDescription
Public methodAddPrivacySandboxEnrollmentOverrideAsync Allows a site to use privacy sandbox features that require enrollment without the site actually being enrolled. Only supported on page targets.
Public methodCancelDownloadAsync Cancel a download if in progress
Public methodCloseAsync Close browser gracefully.
Public methodCrashAsync Crashes browser on the main thread.
Public methodCrashGpuProcessAsync Crashes GPU process.
Protected methodEnumToString(ContentEncoding)
(Inherited from DevToolsDomainBase)
Protected methodEnumToString(CSPViolationType)
(Inherited from DevToolsDomainBase)
Protected methodEnumToString(DisabledImageType)
(Inherited from DevToolsDomainBase)
Protected methodEnumToString(Enum)
(Inherited from DevToolsDomainBase)
Protected methodEnumToString(PermissionType)
(Inherited from DevToolsDomainBase)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExecuteBrowserCommandAsync Invoke custom browser commands used by telemetry.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetBrowserCommandLineAsync Returns the command line switches for the browser process if, and only if --enable-automation is on the commandline.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetHistogramAsync Get a Chrome histogram by name.
Public methodGetHistogramsAsync Get Chrome histograms.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetVersionAsync Returns version information.
Public methodGetWindowBoundsAsync Get position and size of the browser window.
Public methodGetWindowForTargetAsync Get the browser window that contains the devtools target.
Public methodGrantPermissionsAsync Grant specific permissions to the given origin and reject all others.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodResetPermissionsAsync Reset all permission management for all origins.
Public methodSetDockTileAsync Set dock tile details, platform-specific.
Public methodSetDownloadBehaviorAsync Set the behavior when downloading a file.
Public methodSetPermissionAsync Set permission settings for given origin.
Public methodSetWindowBoundsAsync Set position and/or size of the browser window.
Protected methodToBase64String
(Inherited from DevToolsDomainBase)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventDownloadProgress Fired when download makes progress. Last call has |done| == true.
Public eventDownloadWillBegin Fired when page is about to start a download.
Top
See Also