Class FrameStartedNavigating
java.lang.Object
org.openqa.selenium.devtools.v135.page.model.FrameStartedNavigating
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).
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionFrameStartedNavigating
(FrameId frameId, String url, LoaderId loaderId, FrameStartedNavigating.NavigationType navigationType) -
Method Summary
Modifier and TypeMethodDescriptionID of the frame that is being navigated.Loader identifier.getUrl()
The URL the navigation started with.
-
Constructor Details
-
Method Details
-
getFrameId
ID of the frame that is being navigated. -
getUrl
The URL the navigation started with. The final URL can be different. -
getLoaderId
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.
-