public class SeleniumBrowser
extends java.lang.Object
| Constructor and Description |
|---|
SeleniumBrowser(org.openqa.selenium.WebDriver driver) |
SeleniumBrowser(org.openqa.selenium.WebDriver driver,
long implicitlyWait,
long defaultTimeout) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptAlert() |
void |
dismissAlert() |
WebElementReference |
get(org.openqa.selenium.By by) |
WebElementReference |
get(java.lang.String key) |
long |
getDefaultTimeout() |
org.openqa.selenium.WebDriver |
getDriver() |
org.openqa.selenium.WebDriver.Options |
manage() |
void |
open(java.lang.String url) |
void |
open(java.net.URI uri) |
void |
open(java.net.URL url) |
void |
quit() |
void |
setDefaultTimeout(long defaultTimeout) |
org.openqa.selenium.WebDriver.Window |
window() |
public SeleniumBrowser(org.openqa.selenium.WebDriver driver)
throws java.lang.Exception
java.lang.Exceptionpublic SeleniumBrowser(org.openqa.selenium.WebDriver driver,
long implicitlyWait,
long defaultTimeout)
throws java.lang.Exception
java.lang.Exceptionpublic org.openqa.selenium.WebDriver getDriver()
public org.openqa.selenium.WebDriver.Options manage()
public org.openqa.selenium.WebDriver.Window window()
public long getDefaultTimeout()
public void setDefaultTimeout(long defaultTimeout)
public void quit()
public void open(java.lang.String url)
public void open(java.net.URL url)
public void open(java.net.URI uri)
throws java.net.MalformedURLException
java.net.MalformedURLExceptionpublic WebElementReference get(org.openqa.selenium.By by)
public WebElementReference get(java.lang.String key)
public void acceptAlert()
public void dismissAlert()