SimpleEnvBrowserLauncher

Simple implementation of EnvBrowserLauncher that launches a browser if the environment variable is set, passing the URL as the first argument to the browser executable.

Constructors

Link copied to clipboard
constructor(env: String)

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)

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