WebContentsWillNavigateEventParams
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
This event does not fire for same document navigations using window.history api and reference fragment navigations. This property is always set to false
for this event.