public class TestBenchDriverProxy extends TestBenchCommandExecutor implements org.openqa.selenium.WebDriver, org.openqa.selenium.WrapsDriver, HasTestBenchCommandExecutor, HasDriver
| Modifier | Constructor and Description |
|---|---|
protected |
TestBenchDriverProxy(org.openqa.selenium.WebDriver webDriver)
Constructs a TestBenchDriverProxy using the provided web driver for the
actual driving.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
org.openqa.selenium.WebElement |
findElement(org.openqa.selenium.By arg0) |
protected static org.openqa.selenium.WebElement |
findElementByVaadinSelector(String selector,
org.openqa.selenium.SearchContext context)
Finds an element by a Vaadin selector string.
|
List<org.openqa.selenium.WebElement> |
findElements(org.openqa.selenium.By arg0) |
protected static List<org.openqa.selenium.WebElement> |
findElementsByVaadinSelector(String selector,
org.openqa.selenium.SearchContext context)
Finds a list of elements by a Vaadin selector string.
|
void |
get(String arg0) |
org.openqa.selenium.WebDriver |
getActualDriver() |
TestBenchCommandExecutor |
getCommandExecutor()
Return a reference to the related
TestBenchCommandExecutor
instance. |
org.openqa.selenium.SearchContext |
getContext()
Get a reference or a new instance of the SearchContext applicable to this
class
|
String |
getCurrentUrl() |
org.openqa.selenium.WebDriver |
getDriver()
Return a reference to the
WebDriver instance associated with this
TestBenchCommandExecutor |
String |
getPageSource() |
String |
getTitle() |
String |
getWindowHandle() |
Set<String> |
getWindowHandles() |
org.openqa.selenium.WebDriver |
getWrappedDriver()
Return a reference to the
WebDriver instance associated with this
TestBenchCommandExecutor |
org.openqa.selenium.WebDriver.Options |
manage() |
org.openqa.selenium.WebDriver.Navigation |
navigate() |
void |
quit() |
org.openqa.selenium.WebDriver.TargetLocator |
switchTo() |
compareScreen, compareScreen, compareScreen, disableWaitForVaadin, enableWaitForVaadin, executeAsyncScript, executeScript, focusElement, getImageComparison, getReferenceNameGenerator, getRemoteControlName, isAutoScrollIntoView, resizeViewPortTo, setAutoScrollIntoView, setReferenceNameGenerator, timeSpentRenderingLastRequest, timeSpentServicingLastRequest, totalTimeSpentRendering, totalTimeSpentServicingRequests, waitForVaadinclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetReferenceNameGeneratorprotected TestBenchDriverProxy(org.openqa.selenium.WebDriver webDriver)
webDriver - driver instancepublic org.openqa.selenium.WebDriver getWrappedDriver()
TestBenchCommandExecutorWebDriver instance associated with this
TestBenchCommandExecutorgetWrappedDriver in interface org.openqa.selenium.WrapsDrivergetWrappedDriver in class TestBenchCommandExecutorpublic org.openqa.selenium.WebDriver getActualDriver()
public void close()
close in interface org.openqa.selenium.WebDriverpublic org.openqa.selenium.WebElement findElement(org.openqa.selenium.By arg0)
findElement in interface org.openqa.selenium.SearchContextfindElement in interface org.openqa.selenium.WebDriverpublic List<org.openqa.selenium.WebElement> findElements(org.openqa.selenium.By arg0)
findElements in interface org.openqa.selenium.SearchContextfindElements in interface org.openqa.selenium.WebDriverprotected static org.openqa.selenium.WebElement findElementByVaadinSelector(String selector, org.openqa.selenium.SearchContext context)
selector - TestBench4 style Vaadin selector.context - a suitable search context - either a
TestBenchDriverProxy or a TestBenchElement
instance.protected static List<org.openqa.selenium.WebElement> findElementsByVaadinSelector(String selector, org.openqa.selenium.SearchContext context)
selector - TestBench4 style Vaadin selector.context - a suitable search context - either a
TestBenchDriverProxy or a TestBenchElement
instance.public void get(String arg0)
get in interface org.openqa.selenium.WebDriverpublic String getCurrentUrl()
getCurrentUrl in interface org.openqa.selenium.WebDriverpublic String getPageSource()
getPageSource in interface org.openqa.selenium.WebDriverpublic String getTitle()
getTitle in interface org.openqa.selenium.WebDriverpublic String getWindowHandle()
getWindowHandle in interface org.openqa.selenium.WebDriverpublic Set<String> getWindowHandles()
getWindowHandles in interface org.openqa.selenium.WebDriverpublic org.openqa.selenium.WebDriver.Options manage()
manage in interface org.openqa.selenium.WebDriverpublic org.openqa.selenium.WebDriver.Navigation navigate()
navigate in interface org.openqa.selenium.WebDriverpublic void quit()
quit in interface org.openqa.selenium.WebDriverpublic org.openqa.selenium.WebDriver.TargetLocator switchTo()
switchTo in interface org.openqa.selenium.WebDriverpublic org.openqa.selenium.SearchContext getContext()
HasSearchContextgetContext in interface HasSearchContextSearchContext instancepublic TestBenchCommandExecutor getCommandExecutor()
HasTestBenchCommandExecutorTestBenchCommandExecutor
instance.getCommandExecutor in interface HasTestBenchCommandExecutorpublic org.openqa.selenium.WebDriver getDriver()
TestBenchCommandExecutorWebDriver instance associated with this
TestBenchCommandExecutorgetDriver in interface HasDrivergetDriver in class TestBenchCommandExecutorCopyright © 2012-2025 Vaadin Ltd. All Rights Reserved.