Constructor and Description |
---|
BrowserWithNewRoot(java.lang.String rootName,
Browser delegate) |
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 BrowserWithNewRoot(@NotNull java.lang.String rootName, @NotNull Browser delegate)
@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