Class FrameRequestedNavigation
- java.lang.Object
-
- org.openqa.selenium.devtools.v114.page.model.FrameRequestedNavigation
-
@Beta public class FrameRequestedNavigation extends java.lang.ObjectFired when a renderer-initiated navigation is requested. Navigation may still be cancelled after the event is issued.
-
-
Constructor Summary
Constructors Constructor Description FrameRequestedNavigation(FrameId frameId, ClientNavigationReason reason, java.lang.String url, ClientNavigationDisposition disposition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientNavigationDispositiongetDisposition()The disposition for the navigation.FrameIdgetFrameId()Id of the frame that is being navigated.ClientNavigationReasongetReason()The reason for the navigation.java.lang.StringgetUrl()The destination URL for the requested navigation.
-
-
-
Constructor Detail
-
FrameRequestedNavigation
public FrameRequestedNavigation(FrameId frameId, ClientNavigationReason reason, java.lang.String url, ClientNavigationDisposition disposition)
-
-
Method Detail
-
getFrameId
public FrameId getFrameId()
Id of the frame that is being navigated.
-
getReason
public ClientNavigationReason getReason()
The reason for the navigation.
-
getUrl
public java.lang.String getUrl()
The destination URL for the requested navigation.
-
getDisposition
public ClientNavigationDisposition getDisposition()
The disposition for the navigation.
-
-