Browser |
The BrowserClient type exposes the following members.
| Name | Description | |
|---|---|---|
| AddPrivacySandboxEnrollmentOverrideAsync | Allows a site to use privacy sandbox features that require enrollment without the site actually being enrolled. Only supported on page targets. | |
| CancelDownloadAsync | Cancel a download if in progress | |
| CloseAsync | Close browser gracefully. | |
| CrashAsync | Crashes browser on the main thread. | |
| CrashGpuProcessAsync | Crashes GPU process. | |
| EnumToString(ContentEncoding) | (Inherited from DevToolsDomainBase) | |
| EnumToString(CSPViolationType) | (Inherited from DevToolsDomainBase) | |
| EnumToString(DisabledImageType) | (Inherited from DevToolsDomainBase) | |
| 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) | |
| ExecuteBrowserCommandAsync | Invoke custom browser commands used by telemetry. | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetBrowserCommandLineAsync | Returns the command line switches for the browser process if, and only if --enable-automation is on the commandline. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetHistogramAsync | Get a Chrome histogram by name. | |
| GetHistogramsAsync | Get Chrome histograms. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| GetVersionAsync | Returns version information. | |
| GetWindowBoundsAsync | Get position and size of the browser window. | |
| GetWindowForTargetAsync | Get the browser window that contains the devtools target. | |
| GrantPermissionsAsync | Grant specific permissions to the given origin and reject all others. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| ResetPermissionsAsync | Reset all permission management for all origins. | |
| SetDockTileAsync | Set dock tile details, platform-specific. | |
| SetDownloadBehaviorAsync | Set the behavior when downloading a file. | |
| SetPermissionAsync | Set permission settings for given origin. | |
| SetWindowBoundsAsync | Set position and/or size of the browser window. | |
| ToBase64String | (Inherited from DevToolsDomainBase) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |