Class BrowserActionsHelper

java.lang.Object
com.shaft.gui.browser.internal.BrowserActionsHelper

public class BrowserActionsHelper extends Object
  • Field Details

  • Constructor Details

    • BrowserActionsHelper

      public BrowserActionsHelper(boolean isSilent)
  • Method Details

    • passAction

      public void passAction(String testData)
    • passAction

      public void passAction(org.openqa.selenium.WebDriver driver, String testData)
    • passAction

      public void passAction(org.openqa.selenium.WebDriver driver, String actionName, String testData)
    • failAction

      public void failAction(Exception... rootCauseException)
    • failAction

      public void failAction(org.openqa.selenium.WebDriver driver, String testData, Exception... rootCauseException)
    • failAction

      public void failAction(org.openqa.selenium.WebDriver driver, String actionName, String testData, Exception... rootCauseException)
    • confirmThatWebsiteIsNotDown

      public void confirmThatWebsiteIsNotDown(org.openqa.selenium.WebDriver driver, String targetUrl)
    • checkNavigationWasSuccessful

      public void checkNavigationWasSuccessful(org.openqa.selenium.WebDriver driver, String initialURL, String targetUrl, String targetUrlAfterRedirection)
    • waitUntilUrlIsNot

      public void waitUntilUrlIsNot(org.openqa.selenium.WebDriver driver, String initialURL)
    • attemptMaximizeUsingSeleniumWebDriver

      public org.openqa.selenium.Dimension attemptMaximizeUsingSeleniumWebDriver(org.openqa.selenium.WebDriver driver, String executionAddress, String targetBrowserName, String targetOperatingSystem)
    • 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

      public String capturePageSnapshot(org.openqa.selenium.WebDriver driver)
    • formatUrlForBasicAuthentication

      public String formatUrlForBasicAuthentication(String username, String password, String targetUrl)
    • getDomainNameFromUrl

      public String getDomainNameFromUrl(String url)