PathBrowserLauncher

Browser launcher that uses a specific file system path to launch the browser.

Parameters

path

the file system path to the browser executable

Constructors

Link copied to clipboard
constructor(path: Path)

Properties

Link copied to clipboard
open override val isValid: Boolean

Indicates whether the browser is valid and can be launched.

Functions

Link copied to clipboard
open override fun launch(url: String)

Launches a URL in the specified browser.

Link copied to clipboard
open fun launchLocal(port: Int, endpoint: String = "/")

Launches a localhost:<port> in the specified browser.