Class FrameRequestedNavigation

java.lang.Object
io.webfolder.cdp.event.page.FrameRequestedNavigation

public class FrameRequestedNavigation
extends java.lang.Object
Fired when a renderer-initiated navigation is requested Navigation may still be cancelled after the event is issued
  • Constructor Summary

    Constructors 
    Constructor Description
    FrameRequestedNavigation()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getFrameId()
    Id of the frame that is being navigated.
    ClientNavigationReason getReason()
    The reason for the navigation.
    java.lang.String getUrl()
    The destination URL for the requested navigation.
    void setFrameId​(java.lang.String frameId)
    Id of the frame that is being navigated.
    void setReason​(ClientNavigationReason reason)
    The reason for the navigation.
    void setUrl​(java.lang.String url)
    The destination URL for the requested navigation.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getFrameId

      public java.lang.String getFrameId()
      Id of the frame that is being navigated.
    • setFrameId

      public void setFrameId​(java.lang.String frameId)
      Id of the frame that is being navigated.
    • getReason

      public ClientNavigationReason getReason()
      The reason for the navigation.
    • setReason

      public void setReason​(ClientNavigationReason reason)
      The reason for the navigation.
    • getUrl

      public java.lang.String getUrl()
      The destination URL for the requested navigation.
    • setUrl

      public void setUrl​(java.lang.String url)
      The destination URL for the requested navigation.