navigate
suspend fun navigate(args: Page.NavigateParameter, mode: CommandMode = CommandMode.DEFAULT): Page.NavigateReturn
Navigates current page to the given URL.
suspend fun navigate(url: String, referrer: String? = null, transitionType: Page.TransitionType? = null, frameId: String? = null, referrerPolicy: Page.ReferrerPolicy? = null): Page.NavigateReturn
Navigates current page to the given URL.
Parameters
url
URL to navigate the page to.
referrer
Referrer URL.
transitionType
Intended transition type.
frameId
Frame id to navigate, if not specified navigates the top frame.
referrerPolicy
Referrer-policy used for the navigation.