BrowserLauncher

interface BrowserLauncher

Launcher of a URL in a specific browser.

Inheritors

Properties

Link copied to clipboard
abstract val isValid: Boolean

Indicates whether the browser is valid and can be launched.

Functions

Link copied to clipboard
abstract 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.