NavigateRequest

data class NavigateRequest(url: String, referrer: String?, transitionType: TransitionType?, frameId: FrameId?, referrerPolicy: ReferrerPolicy?)

Represents request frame that can be used with Page#navigate operation call.

Navigates current page to the given URL.

See also

Constructors

NavigateRequest
Link copied to clipboard
fun NavigateRequest(url: String, referrer: String? = null, transitionType: TransitionType? = null, frameId: FrameId? = null, referrerPolicy: ReferrerPolicy? = null)

Properties

frameId
Link copied to clipboard
val frameId: FrameId? = null
Frame id to navigate, if not specified navigates the top frame.
referrer
Link copied to clipboard
val referrer: String? = null
Referrer URL.
referrerPolicy
Link copied to clipboard
val referrerPolicy: ReferrerPolicy? = null
Referrer-policy used for the navigation.
transitionType
Link copied to clipboard
val transitionType: TransitionType? = null
Intended transition type.
url
Link copied to clipboard
val url: String
URL to navigate the page to.

Sources

jvm source
Link copied to clipboard