goto
abstract suspend fun goto(url: String, waitUntil: WaitUntil = WaitUntil.Load, timeoutMillis: Long = 0): NavigationResult
Navigates and waits for waitUntil.
On expiry the call returns with NavigationResult.settled false rather than throwing: partial content is usually still useful.
Throws
ErrorCode.NAVIGATION_FAILED if the document could not be loaded, ErrorCode.SSRF_BLOCKED if the URL resolved to an address the host app did not allow, at any point in a redirect chain.