public abstract class RegionObject extends Object
| Modifier and Type | Field and Description |
|---|---|
protected JQueryLocatorBuilder |
$ |
protected VaniContext |
vaniContext |
protected WaitUtil |
waitUtil |
protected org.openqa.selenium.WebDriver |
webDriver |
| Constructor and Description |
|---|
RegionObject() |
| Modifier and Type | Method and Description |
|---|---|
protected JQueryElement |
$(String selector)
This method will execute the provided
selector with
ByJQuery locator. |
boolean |
containsPageSource(String expr)
This method will check whether current region source code contains
provided expression (regex is also supported).
|
org.openqa.selenium.WebDriver |
getWebDriver() |
protected void |
initJQuery() |
void |
invalidate()
marks current object as invalidate.
|
boolean |
isInvalidated() |
protected org.openqa.selenium.WebDriver webDriver
@Autowired protected VaniContext vaniContext
protected JQueryLocatorBuilder $
@Autowired protected WaitUtil waitUtil
@PostConstruct protected void initJQuery()
public org.openqa.selenium.WebDriver getWebDriver()
webDriver instancepublic boolean containsPageSource(String expr)
expr - protected JQueryElement $(String selector)
selector with
ByJQuery locator.selector - public void invalidate()
public boolean isInvalidated()
Copyright © 2016. All rights reserved.