Package com.shaft.driver
Class SHAFT.GUI.WebDriver
java.lang.Object
com.shaft.driver.SHAFT.GUI.WebDriver
- Enclosing class:
SHAFT.GUI
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionWebDriver
(DriverFactory.DriverType driverType) WebDriver
(DriverFactory.DriverType driverType, org.openqa.selenium.MutableCapabilities mutableCapabilities) WebDriver
(org.openqa.selenium.WebDriver driver) -
Method Summary
-
Constructor Details
-
WebDriver
public WebDriver() -
WebDriver
-
WebDriver
public WebDriver(DriverFactory.DriverType driverType, org.openqa.selenium.MutableCapabilities mutableCapabilities) -
WebDriver
public WebDriver(org.openqa.selenium.WebDriver driver)
-
-
Method Details
-
quit
public void quit() -
element
-
touch
-
browser
-
alert
-
waitUntil
Use this method to do any selenium explicit wait if needed.
Please note that most of the used wait methods are implemented in the related classes (browser and element)- Parameters:
conditions
- Any Selenium explicit wait, also supports expected conditions- Returns:
- wait actions reference to be used to chain actions
-
assertThat
-
verifyThat
-
getDriver
public org.openqa.selenium.WebDriver getDriver()Returns the current Selenium WebDriver instance for custom manipulation- Returns:
- the current Selenium WebDriver instance for custom manipulation
-
async
-