WebContentsWillRedirectEventParams
Properties
Link copied to clipboard
The frame to be navigated.
Link copied to clipboard
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
True if the navigation is taking place in a main frame.
Link copied to clipboard
Whether the navigation happened without changing document. Examples of same document navigations are reference fragment navigations, pushState/replaceState, and same page history navigation.