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, boundingClientRect, hasAttribute, innerHtml, innerHtml, innerText, innerText, putAttribute, removeAttribute
appendChild, children, click, evaluate, evaluate, insertChild, nextSibling, nodeName, nodeValue, nodeValue, parent, previousSibling, removeChild, replaceChild, textContent, textContent, type
addEventListener, dispatch, eventListeners, removeEventListener
findElementByClassName, findElementByCssSelector, findElementById, findElementByName, findElementByTagName, findElementsByClassName, findElementsByCssSelector, findElementsById, findElementsByName, findElementsByTagName
java.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