BrowserManagement class

Browser management utilities for installing, updating, and listing browsers.

Provides functions to manage browser installations, including:

  • Installing specific browser versions
  • Updating browsers to latest versions
  • Listing available browsers
  • Getting browser version information

Constructors

BrowserManagement()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

logger → BrowserLogger
Gets or creates a logger instance with appropriate configuration.
no setter

Static Methods

getBrowserVersions() → Future<Map<String, String>>
Gets version information for installed browsers.
installBrowser(String browserName, {String? version, bool force = false}) → Future<bool>
Installs a specific browser version.
isBrowserInstalled(String browserName) → Future<bool>
Checks if a browser is currently installed.
listAvailableBrowsers() → Future<List<String>>
Lists all available browsers that can be installed.
setLogger(BrowserLogger customLogger) → void
Sets a custom logger for browser management operations.
updateBrowser(String browserName) → Future<bool>
Updates a browser to the latest available version.