pub struct EventFrameStartedNavigating {
pub frame_id: FrameId,
pub url: String,
pub loader_id: LoaderId,
pub navigation_type: FrameStartedNavigatingNavigationType,
}
Expand description
Fired when a navigation starts. This event is fired for both
renderer-initiated and browser-initiated navigations. For renderer-initiated
navigations, the event is fired after frameRequestedNavigation
.
Navigation may still be cancelled after the event is issued. Multiple events
can be fired for a single navigation, for example, when a same-document
navigation becomes a cross-document navigation (such as in the case of a
frameset).
frameStartedNavigating
Fields§
§frame_id: FrameId
ID of the frame that is being navigated.
url: String
The URL the navigation started with. The final URL can be different.
loader_id: LoaderId
Loader identifier. Even though it is present in case of same-document navigation, the previously committed loaderId would not change unless the navigation changes from a same-document to a cross-document navigation.
Implementations§
pub const IDENTIFIER: &'static str = "Page.frameStartedNavigating"
Trait Implementations§
Source§fn clone(&self) -> EventFrameStartedNavigating
fn clone(&self) -> EventFrameStartedNavigating
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventFrameStartedNavigating, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EventFrameStartedNavigating, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§fn from(el: EventFrameStartedNavigating) -> CdpEvent
fn from(el: EventFrameStartedNavigating) -> CdpEvent
Source§fn event_kind() -> EventKindwhere
EventFrameStartedNavigating: Sized + 'static,
fn event_kind() -> EventKindwhere
EventFrameStartedNavigating: Sized + 'static,
Source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
DOM.removeNode
Source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
DOM
Source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
removeNode