|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Deprecated public interface AtlassianWebDriver
Represents the web browser, adds common helper methods on top of WebDriver.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.openqa.selenium.WebDriver |
|---|
org.openqa.selenium.WebDriver.ImeHandler, org.openqa.selenium.WebDriver.Navigation, org.openqa.selenium.WebDriver.Options, org.openqa.selenium.WebDriver.TargetLocator, org.openqa.selenium.WebDriver.Timeouts, org.openqa.selenium.WebDriver.Window |
| Method Summary | |
|---|---|
void |
dumpSourceTo(File dumpFile)
Deprecated. use WebDriverDebug.dumpSourceTo(File) |
boolean |
elementExists(org.openqa.selenium.By locator)
Deprecated. use Check.elementExists(By, SearchContext) instead |
boolean |
elementExistsAt(org.openqa.selenium.By locator,
org.openqa.selenium.SearchContext context)
Deprecated. use Check.elementExists(By, SearchContext) instead |
boolean |
elementIsVisible(org.openqa.selenium.By locator)
Deprecated. use Check.elementIsVisible(By, SearchContext) instead |
boolean |
elementIsVisibleAt(org.openqa.selenium.By locator,
org.openqa.selenium.SearchContext context)
Deprecated. use Check.elementIsVisible(By, SearchContext) instead |
org.openqa.selenium.WebDriver |
getDriver()
Deprecated. Gets the underlying WebDriver. |
void |
quit()
Deprecated. Quits this driver, closing every associated window. |
void |
takeScreenshotTo(File destFile)
Deprecated. use WebDriverDebug.takeScreenshotTo(File) |
void |
waitUntil(com.google.common.base.Function<org.openqa.selenium.WebDriver,Boolean> isTrue)
Deprecated. use WebDriverPoller instead. For more sophisticated
polling/waiting toolkit, check the PageElement API in the atlassian-pageobjects-elements module. |
void |
waitUntil(com.google.common.base.Function<org.openqa.selenium.WebDriver,Boolean> isTrue,
int timeoutInSeconds)
Deprecated. use WebDriverPoller instead. For more sophisticated
polling/waiting toolkit, check the PageElement API in the atlassian-pageobjects-elements module. |
void |
waitUntilElementIsLocated(org.openqa.selenium.By elementLocator)
Deprecated. use WebDriverPoller instead. For more sophisticated
polling/waiting toolkit, check the PageElement API in the atlassian-pageobjects-elements module. |
void |
waitUntilElementIsLocatedAt(org.openqa.selenium.By elementLocator,
org.openqa.selenium.SearchContext context)
Deprecated. use WebDriverPoller instead. For more sophisticated
polling/waiting toolkit, check the PageElement API in the atlassian-pageobjects-elements module. |
void |
waitUntilElementIsNotLocated(org.openqa.selenium.By elementLocator)
Deprecated. use WebDriverPoller instead. For more sophisticated
polling/waiting toolkit, check the PageElement API in the atlassian-pageobjects-elements module. |
void |
waitUntilElementIsNotLocatedAt(org.openqa.selenium.By elementLocator,
org.openqa.selenium.SearchContext context)
Deprecated. use WebDriverPoller instead. For more sophisticated
polling/waiting toolkit, check the PageElement API in the atlassian-pageobjects-elements module. |
void |
waitUntilElementIsNotVisible(org.openqa.selenium.By elementLocator)
Deprecated. use WebDriverPoller instead. For more sophisticated
polling/waiting toolkit, check the PageElement API in the atlassian-pageobjects-elements module. |
void |
waitUntilElementIsNotVisibleAt(org.openqa.selenium.By elementLocator,
org.openqa.selenium.SearchContext context)
Deprecated. use WebDriverPoller instead. For more sophisticated
polling/waiting toolkit, check the PageElement API in the atlassian-pageobjects-elements module. |
void |
waitUntilElementIsVisible(org.openqa.selenium.By elementLocator)
Deprecated. use WebDriverPoller instead. For more sophisticated
polling/waiting toolkit, check the PageElement API in the atlassian-pageobjects-elements module. |
void |
waitUntilElementIsVisibleAt(org.openqa.selenium.By elementLocator,
org.openqa.selenium.SearchContext context)
Deprecated. use WebDriverPoller instead. For more sophisticated
polling/waiting toolkit, check the PageElement API in the atlassian-pageobjects-elements module. |
| Methods inherited from interface org.openqa.selenium.WebDriver |
|---|
close, findElement, findElements, get, getCurrentUrl, getPageSource, getTitle, getWindowHandle, getWindowHandles, manage, navigate, switchTo |
| Methods inherited from interface org.openqa.selenium.JavascriptExecutor |
|---|
executeAsyncScript, executeScript |
| Methods inherited from interface org.openqa.selenium.interactions.HasInputDevices |
|---|
getKeyboard, getMouse |
| Methods inherited from interface com.atlassian.pageobjects.browser.BrowserAware |
|---|
getBrowser |
| Methods inherited from interface org.openqa.selenium.internal.WrapsDriver |
|---|
getWrappedDriver |
| Method Detail |
|---|
org.openqa.selenium.WebDriver getDriver()
void quit()
quit in interface org.openqa.selenium.WebDrivervoid waitUntil(com.google.common.base.Function<org.openqa.selenium.WebDriver,Boolean> isTrue)
WebDriverPoller instead. For more sophisticated
polling/waiting toolkit, check the PageElement API in the atlassian-pageobjects-elements module.
If the condition does not become true within default timeout, this method will throw a TimeoutException.
isTrue - Function that evaluates true if waiting is complete.
void waitUntil(com.google.common.base.Function<org.openqa.selenium.WebDriver,Boolean> isTrue,
int timeoutInSeconds)
WebDriverPoller instead. For more sophisticated
polling/waiting toolkit, check the PageElement API in the atlassian-pageobjects-elements module.
If the condition does not become true within given timeout, this method will throw a TimeoutException.
isTrue - Function that evaluates true if waiting is complete.timeoutInSeconds - Timeout in seconds to wait for condition to return true.void dumpSourceTo(File dumpFile)
WebDriverDebug.dumpSourceTo(File)
dumpFile - File to write the source to.void takeScreenshotTo(File destFile)
WebDriverDebug.takeScreenshotTo(File)
destFile - File to save screen shot.
void waitUntilElementIsVisibleAt(org.openqa.selenium.By elementLocator,
org.openqa.selenium.SearchContext context)
WebDriverPoller instead. For more sophisticated
polling/waiting toolkit, check the PageElement API in the atlassian-pageobjects-elements module.
elementLocator - Locator strategy for the element.context - SearchContext to use when locating.void waitUntilElementIsVisible(org.openqa.selenium.By elementLocator)
WebDriverPoller instead. For more sophisticated
polling/waiting toolkit, check the PageElement API in the atlassian-pageobjects-elements module.
elementLocator - Locator strategy for the element.
void waitUntilElementIsNotVisibleAt(org.openqa.selenium.By elementLocator,
org.openqa.selenium.SearchContext context)
WebDriverPoller instead. For more sophisticated
polling/waiting toolkit, check the PageElement API in the atlassian-pageobjects-elements module.
elementLocator - Locator strategy for the element.context - SearchContext to use when locating.void waitUntilElementIsNotVisible(org.openqa.selenium.By elementLocator)
WebDriverPoller instead. For more sophisticated
polling/waiting toolkit, check the PageElement API in the atlassian-pageobjects-elements module.
elementLocator - Locator strategy for the element.
void waitUntilElementIsLocatedAt(org.openqa.selenium.By elementLocator,
org.openqa.selenium.SearchContext context)
WebDriverPoller instead. For more sophisticated
polling/waiting toolkit, check the PageElement API in the atlassian-pageobjects-elements module.
elementLocator - Locator strategy for the element.context - SearchContext to use when locating.void waitUntilElementIsLocated(org.openqa.selenium.By elementLocator)
WebDriverPoller instead. For more sophisticated
polling/waiting toolkit, check the PageElement API in the atlassian-pageobjects-elements module.
elementLocator - Locator strategy for the element.
void waitUntilElementIsNotLocatedAt(org.openqa.selenium.By elementLocator,
org.openqa.selenium.SearchContext context)
WebDriverPoller instead. For more sophisticated
polling/waiting toolkit, check the PageElement API in the atlassian-pageobjects-elements module.
elementLocator - Locator strategy for the element.context - Parent element to use when locating.void waitUntilElementIsNotLocated(org.openqa.selenium.By elementLocator)
WebDriverPoller instead. For more sophisticated
polling/waiting toolkit, check the PageElement API in the atlassian-pageobjects-elements module.
elementLocator - Locator strategy for the element.boolean elementExists(org.openqa.selenium.By locator)
Check.elementExists(By, SearchContext) instead
locator - Locator strategy for the element.
boolean elementExistsAt(org.openqa.selenium.By locator,
org.openqa.selenium.SearchContext context)
Check.elementExists(By, SearchContext) instead
locator - Locator strategy for the element.context - SearchContext to use when locating.
boolean elementIsVisible(org.openqa.selenium.By locator)
Check.elementIsVisible(By, SearchContext) instead
locator - Locator strategy for the element.
boolean elementIsVisibleAt(org.openqa.selenium.By locator,
org.openqa.selenium.SearchContext context)
Check.elementIsVisible(By, SearchContext) instead
locator - Locator strategy for the element.context - SearchContext to use when locating.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||