public interface BrowserNode
element nodes returned byBrowserApplication.getCurrentDocument()BrowserApplication.getCurrentDocument()| Modifier and Type | Method and Description |
|---|---|
void |
scrollIntoView()
Checks wether this element is (partly) visible in current viewport, or not.
|
void |
setInnerHTML(String html)
Sets the given html as inner html of this browser node.
|
void |
setStyleAttribute(String style,
String value)
Sets a style attribute for this browser node.
|
void |
setStyleAttributes(Map<String,String> attributes)
Applies given style mappings for this browser node.
|
void setStyleAttribute(String style, String value) throws DocumentGoneException
style - the style to set the given value forvalue - the value for the style attributeDocumentGoneException - if the element belonging to this browser node isn't accessible any more in the underlying documentvoid setStyleAttributes(Map<String,String> attributes) throws DocumentGoneException
attributes - map containing style to value mappingsDocumentGoneException - if the element belonging to this browser node isn't accessible any more in the underlying documentvoid setInnerHTML(String html) throws DocumentGoneException
html - the html string to set as inner htmlDocumentGoneException - if the element belonging to this browser node isn't accessible any more in the underlying documentvoid scrollIntoView()
throws DocumentGoneException
DocumentGoneException - if the element belonging to this browser node isn't accessible any more in the underlying documentCopyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408