public interface NavigationStarted extends NavigationEvent
isSameDocument()
method.
Note that more than one navigation can be ongoing in the same frame at the same time
(including the main frame). Note that there is no guarantee that the NavigationFinished
will be fired for any particular navigation before this event is called on the next.
Modifier and Type | Method and Description |
---|---|
default boolean |
isInMainFrame()
Returns
true if the navigation is taking place in the main frame. |
default boolean |
isSameDocument()
Returns
true if the navigation will be performed in the scope of the same document. |
default Navigation |
navigation()
Returns the
Navigation instance initiated this event. |
default java.lang.String |
url()
Returns a string that represents the URL of the navigation.
|
default Navigation navigation()
NavigationEvent
Navigation
instance initiated this event.navigation
in interface NavigationEvent
default java.lang.String url()
default boolean isSameDocument()
true
if the navigation will be performed in the scope of the same document.default boolean isInMainFrame()
true
if the navigation is taking place in the main frame.