Class FrameStartedNavigating

java.lang.Object
org.openqa.selenium.devtools.v135.page.model.FrameStartedNavigating

@Beta public class FrameStartedNavigating extends Object
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).
  • Constructor Details

  • Method Details

    • getFrameId

      public FrameId getFrameId()
      ID of the frame that is being navigated.
    • getUrl

      public String getUrl()
      The URL the navigation started with. The final URL can be different.
    • getLoaderId

      public LoaderId 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.
    • getNavigationType

      public FrameStartedNavigating.NavigationType getNavigationType()