Package com.shaft.gui.browser.internal
Class BrowserActionsHelper
java.lang.Object
com.shaft.gui.browser.internal.BrowserActionsHelper
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.Dimension
attemptMaximizeUsingSeleniumWebDriver
(org.openqa.selenium.WebDriver driver, String executionAddress, String targetBrowserName, String targetOperatingSystem) org.openqa.selenium.Dimension
attemptMaximizeUsingSeleniumWebDriverManageWindow
(org.openqa.selenium.WebDriver driver, int width, int height) org.openqa.selenium.Dimension
attemptMaximizeUsingToolkitAndJavascript
(org.openqa.selenium.WebDriver driver, int width, int height) capturePageSnapshot
(org.openqa.selenium.WebDriver driver) void
checkNavigationWasSuccessful
(org.openqa.selenium.WebDriver driver, String initialURL, String targetUrl, String targetUrlAfterRedirection) void
confirmThatWebsiteIsNotDown
(org.openqa.selenium.WebDriver driver, String targetUrl) void
failAction
(Exception... rootCauseException) void
failAction
(org.openqa.selenium.WebDriver driver, String testData, Exception... rootCauseException) void
failAction
(org.openqa.selenium.WebDriver driver, String actionName, String testData, Exception... rootCauseException) formatUrlForBasicAuthentication
(String username, String password, String targetUrl) void
navigateToNewUrl
(org.openqa.selenium.WebDriver driver, String initialURL, String targetUrl, String targetUrlAfterRedirection) void
passAction
(String testData) void
passAction
(org.openqa.selenium.WebDriver driver, String testData) void
passAction
(org.openqa.selenium.WebDriver driver, String actionName, String testData) void
waitUntilUrlIsNot
(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
-