Interface FrameElement

All Superinterfaces:
Element, EventTarget, Node, SearchContext

public interface FrameElement extends Element
An HTML DOM frame or iframe element.
  • Method Details

    • contentDocument

      Optional<Document> contentDocument()
      Returns an Optional that contains the document of the current FRAME/IFRAME element if it exists, otherwise an empty Optional.
      Throws:
      ObjectClosedException - when this instance is closed