Class BrowserWithNewRoot
- java.lang.Object
-
- jetbrains.buildServer.util.browser.BrowserWithNewRoot
-
-
Constructor Summary
Constructors Constructor Description BrowserWithNewRoot(String rootName, Browser delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BehaviourgetBehaviour()Returns the browser behaviour options.ElementgetElement(String path)ElementgetRoot()Returns the root element.
-
-
-
Method Detail
-
getRoot
@NotNull public Element getRoot() throws BrowserException
Description copied from interface:BrowserReturns the root element.- Specified by:
getRootin interfaceBrowser- Returns:
- root element
- Throws:
BrowserException- in case of an error
-
getElement
@Nullable public Element getElement(@NotNull String path) throws BrowserException
- Specified by:
getElementin interfaceBrowser- Parameters:
path- path to some element- Returns:
- element for specified path or null if element does not exist
- Throws:
BrowserException
-
getBehaviour
@NotNull public Behaviour getBehaviour()
Description copied from interface:BrowserReturns the browser behaviour options.For most implementations
Behaviour.DEFAULT_BEHAVIOURis returned.- Specified by:
getBehaviourin interfaceBrowser- Returns:
- browser behaviour
-
-