Package com.vaadin.testbench
Interface HasDriver
- All Known Implementing Classes:
TestBenchCommandExecutor,TestBenchElement
public interface HasDriver
An interface for classes that can provide an instance of a
WebDriver-
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.WebDriverReturn theWebDriverinstance associated with the implementing class instance.
-
Method Details
-
getDriver
org.openqa.selenium.WebDriver getDriver()Return theWebDriverinstance associated with the implementing class instance. This can be simply the class itself re-cast as a WebDriver, or a reference to some WebDriver obtainable by any other means.- Returns:
- the contained WebDriver instance
-