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
Browser
getRoot
in interface Browser
BrowserException
- in case of an error@Nullable public Element getElement(@NotNull java.lang.String path) throws BrowserException
getElement
in interface Browser
path
- path to some elementBrowserException
@NotNull public Behaviour getBehaviour()
Browser
For most implementations Behaviour.DEFAULT_BEHAVIOUR
is returned.
getBehaviour
in interface Browser