Click or drag to resize

BrowserClient Class

Version 108.4.130
The Browser domain defines methods and events for browser managing.
Inheritance Hierarchy

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

The BrowserClient type exposes the following members.

Constructors
  NameDescription
Public methodBrowserClient
Browser
Top
Methods
  NameDescription
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(Enum) (Inherited from DevToolsDomainBase.)
Protected methodEnumToString(ContentEncoding) (Inherited from DevToolsDomainBase.)
Protected methodEnumToString(CSPViolationType) (Inherited from DevToolsDomainBase.)
Protected methodEnumToString(DisabledImageType) (Inherited from DevToolsDomainBase.)
Protected methodEnumToString(PermissionType) (Inherited from DevToolsDomainBase.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecuteBrowserCommandAsync
Invoke custom browser commands used by telemetry.
Protected methodFinalize
Allows 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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetHistogramAsync
Get a Chrome histogram by name.
Public methodGetHistogramsAsync
Get Chrome histograms.
Public methodGetType
Gets 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 methodMemberwiseClone
Creates 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 methodToString
Returns 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