Class Page.frameStartedNavigating

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<BaseType<?>>
    Enclosing class:
    Page

    public static class Page.frameStartedNavigating
    extends BrowserEvent<Page.frameStartedNavigating>
    implements java.io.Serializable
    This Nested Java Class is declared as an Event-Type by the CDP API Specifications. This class largely functions as a data container or "data record", and encapsulates the datum values that Google Chrome is incorporating into the event that it is firing.

    📌 All browser domain event classes will have a class name that begins with a lower case letter.

    👉 Note that this particular event can be fired by the Page domain, located in the BrowserAPI. A browser 'domain' is quite similar to a Java Package. It incorporates a suite of features, types and functions under one umbrella.
    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).
    EXPERIMENTAL
    See Also:
    Serialized Form


    • Field Detail

      • serialVersionUID

        🡇     🗕  🗗  🗖
        protected static final long serialVersionUID
        This fulfils the SerialVersion UID requirement for all classes that implement Java's interface java.io.Serializable. Using the Serializable Implementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.
        See Also:
        Constant Field Values
      • url

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.String url
        The URL the navigation started with. The final URL can be different.
      • loaderId

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.String loaderId
        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.
      • navigationType

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.String navigationType
        [No Description Provided by Google]

        This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed inside the hilited source code from this class nested helper. Click the link below, and scroll down to find the definition for a ReadOnlyList<String> named 'navigationType$$':

        📎 Page$$frameStartedNavigating$$


        Programmatically Accessing the Enum:
        // Retrieve the list of enumerated strings for this field
        ReadOnlyList<String> enumerationStrs = Page.frameStartedNavigating.enumStrList("navigationType");
        
        // Print the list of strings to the terminal
        for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
        
        See Also:
        BaseType.enumStrList(String)
    • Constructor Detail

      • frameStartedNavigating

        🡅  🡇     🗕  🗗  🗖
        public frameStartedNavigating​(ReadOnlyList<java.lang.Boolean> isPresent,
                                      java.lang.String frameId,
                                      java.lang.String url,
                                      java.lang.String loaderId,
                                      java.lang.String navigationType)
        Constructor. Please review this class' fields for documentation.