loadURL

abstract fun loadURL(url: String, options: LoadURLOptions = definedExternally): Promise<Void>(source)

The promise will resolve when the page has finished loading (see did-finish-load), and rejects if the page fails to load (see did-fail-load).

Loads the url in the webview, the url must contain the protocol prefix, e.g. the http:// or file://.