Package com.shaft.gui.browser.internal
Class BrowserActionsHelper
java.lang.Object
com.shaft.gui.browser.internal.BrowserActionsHelper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.DimensionattemptMaximizeUsingSeleniumWebDriver(org.openqa.selenium.WebDriver driver, String executionAddress, String targetBrowserName, String targetOperatingSystem) org.openqa.selenium.DimensionattemptMaximizeUsingSeleniumWebDriverManageWindow(org.openqa.selenium.WebDriver driver, int width, int height) org.openqa.selenium.DimensionattemptMaximizeUsingToolkitAndJavascript(org.openqa.selenium.WebDriver driver, int width, int height) capturePageSnapshot(org.openqa.selenium.WebDriver driver) voidcheckNavigationWasSuccessful(org.openqa.selenium.WebDriver driver, String initialURL, String targetUrl, String targetUrlAfterRedirection) voidconfirmThatWebsiteIsNotDown(org.openqa.selenium.WebDriver driver, String targetUrl) voidfailAction(Exception... rootCauseException) voidfailAction(org.openqa.selenium.WebDriver driver, String testData, Exception... rootCauseException) voidfailAction(org.openqa.selenium.WebDriver driver, String actionName, String testData, Exception... rootCauseException) formatUrlForBasicAuthentication(String username, String password, String targetUrl) voidnavigateToNewUrl(org.openqa.selenium.WebDriver driver, String initialURL, String targetUrl, String targetUrlAfterRedirection) voidpassAction(String testData) voidpassAction(org.openqa.selenium.WebDriver driver, String testData) voidpassAction(org.openqa.selenium.WebDriver driver, String actionName, String testData) voidwaitUntilUrlIsNot(org.openqa.selenium.WebDriver driver, String initialURL)
-
Field Details
-
NAVIGATION_TIMEOUT_INTEGER
public static final int NAVIGATION_TIMEOUT_INTEGER
-
-
Constructor Details
-
BrowserActionsHelper
public BrowserActionsHelper(boolean isSilent)
-
-
Method Details
-
passAction
-
passAction
-
passAction
-
failAction
-
failAction
-
failAction
-
confirmThatWebsiteIsNotDown
-
waitUntilUrlIsNot
-
attemptMaximizeUsingSeleniumWebDriver
-
attemptMaximizeUsingToolkitAndJavascript
public org.openqa.selenium.Dimension attemptMaximizeUsingToolkitAndJavascript(org.openqa.selenium.WebDriver driver, int width, int height) -
attemptMaximizeUsingSeleniumWebDriverManageWindow
public org.openqa.selenium.Dimension attemptMaximizeUsingSeleniumWebDriverManageWindow(org.openqa.selenium.WebDriver driver, int width, int height) -
capturePageSnapshot
-
formatUrlForBasicAuthentication
-
getDomainNameFromUrl
-