loadURL
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
). A noop rejection handler is already attached, which avoids unhandled rejection errors.
Loads the url
in the window. The url
must contain the protocol prefix, e.g. the http://
or file://
. If the load should bypass http cache then use the pragma
header to achieve it.