java.lang.Object
org.openqa.selenium.devtools.v85.page.model.Frame

public class Frame extends Object
Information about the Frame on the page.
  • Constructor Details

  • Method Details

    • getId

      public FrameId getId()
      Frame unique identifier.
    • getParentId

      public Optional<String> getParentId()
      Parent frame identifier.
    • getLoaderId

      public LoaderId getLoaderId()
      Identifier of the loader associated with this frame.
    • getName

      public Optional<String> getName()
      Frame's name as specified in the tag.
    • getUrl

      public String getUrl()
      Frame document's URL without fragment.
    • getUrlFragment

      @Beta public Optional<String> getUrlFragment()
      Frame document's URL fragment including the '#'.
    • getSecurityOrigin

      public String getSecurityOrigin()
      Frame document's security origin.
    • getMimeType

      public String getMimeType()
      Frame document's mimeType as determined by the browser.
    • getUnreachableUrl

      @Beta public Optional<String> getUnreachableUrl()
      If the frame failed to load, this contains the URL that could not be loaded. Note that unlike url above, this URL may contain a fragment.