WebContentsWillRedirectEventParams

Properties

Link copied to clipboard
abstract var frame: WebFrameMain

The frame to be navigated.

Link copied to clipboard
abstract var initiator: WebFrameMain?

The frame which initiated the navigation, which can be a parent frame (e.g. via window.open with a frame's name), or null if the navigation was not initiated by a frame. This can also be null if the initiating frame was deleted before the event was emitted.

Link copied to clipboard
abstract var isMainFrame: Boolean

True if the navigation is taking place in a main frame.

Link copied to clipboard
abstract var isSameDocument: Boolean

Whether the navigation happened without changing document. Examples of same document navigations are reference fragment navigations, pushState/replaceState, and same page history navigation.

Link copied to clipboard
abstract var url: String

The URL the frame is navigating to.