NavigateRequest

@Serializable
data class NavigateRequest(val url: String, val referrer: String? = null, val transitionType: TransitionType? = null, val frameId: FrameId? = null, val referrerPolicy: ReferrerPolicy? = null)(source)

Request object containing input parameters for the PageDomain.navigate command.

Constructors

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

Types

Link copied to clipboard
class Builder(val url: String)

Properties

Link copied to clipboard
val frameId: FrameId? = null

Frame id to navigate, if not specified navigates the top frame.

Link copied to clipboard
val referrer: String? = null

Referrer URL.

Link copied to clipboard

Referrer-policy used for the navigation.

Link copied to clipboard

Intended transition type.

Link copied to clipboard
val url: String

URL to navigate the page to.