| Constructor and Description |
|---|
CachingBrowser(Browser srcBrowser) |
| Modifier and Type | Method and Description |
|---|---|
Behaviour |
getBehaviour()
Returns the browser behaviour options.
|
Element |
getElement(java.lang.String path) |
Element |
getRoot()
Returns the root element.
|
public CachingBrowser(@NotNull
Browser srcBrowser)
@NotNull public Element getRoot() throws BrowserException
BrowsergetRoot in interface BrowserBrowserException - in case of an error@Nullable public Element getElement(@NotNull java.lang.String path) throws BrowserException
getElement in interface Browserpath - path to some elementBrowserException@NotNull public Behaviour getBehaviour()
Browser
For most implementations Behaviour.DEFAULT_BEHAVIOUR is returned.
getBehaviour in interface Browser