Headless |
public class HeadlessBrowser : IAsyncDisposable
The HeadlessBrowser type exposes the following members.
| Name | Description | |
|---|---|---|
| HeadlessBrowser | Initializes a new instance of the HeadlessBrowser class |
| Name | Description | |
|---|---|---|
| DisposeAsync | Close the page and the browser | |
| 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) | |
| GetChromiumPath | Returns the path of the Chromium executable, the browser is downloaded at first use into the Assemblies folder of the repository | |
| GetElementPicture | Returns the picture (PNG) of an element of the page | |
| 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) | |
| Open | Launch the browser and show an HTML result file, the page is returned when its resources are loaded and its scripts executed | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| Browser | The browser | |
| ChromiumRevisionLinux | Chromium revision for Linux (nearest snapshot of the same branch point) | |
| ChromiumRevisionWindows | Headless browser: an unbranded Chromium build (BSD-3-Clause, no Google Chrome terms of service), downloaded at first use from the chromium-browser-snapshots bucket into Assemblies\Chromium. The revision is pinned to the nearest snapshot of the Chrome 153 stable branch point (September 2026). To upgrade: take chromium_main_branch_position of the current stable release from https://chromiumdash.appspot.com/fetch_releases?channel=Stable&platform=Windows&num=1 and use the nearest revision that exists in https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/ | |
| Page | The page showing the HTML result | |
| ViewportHeight | Height in pixels of the browser viewport showing the HTML result | |
| ViewportWidth | Width in pixels of the browser viewport showing the HTML result |