public interface FrameElement extends Element
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<Document> |
contentDocument()
Returns an
Optional that contains the document of the current FRAME/IFRAME element if
it exists, otherwise an empty Optional. |
attributes, attributeValue, blur, boundingClientRect, focus, hasAttribute, innerHtml, innerHtml, innerText, innerText, outerHtml, outerHtml, putAttribute, removeAttributeappendChild, children, click, document, evaluate, evaluate, insertChild, nextSibling, nodeName, nodeValue, nodeValue, parent, previousSibling, removeChild, replaceChild, textContent, textContent, type, xPathaddEventListener, dispatch, eventListeners, removeEventListenerfindElementByClassName, findElementByCssSelector, findElementById, findElementByName, findElementByTagName, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByName, findElementsByTagNamejava.util.Optional<Document> contentDocument()
Optional that contains the document of the current FRAME/IFRAME element if
it exists, otherwise an empty Optional.java.lang.IllegalStateException - when the document this instance belongs to is closed