Click or drag to resize

BrowserClient Methods

Version 130.1.90

The BrowserClient type exposes the following members.

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
See Also