Class ControllerUtil

java.lang.Object
org.mycore.iview.tests.controller.ControllerUtil

public class ControllerUtil extends Object
  • Field Details

  • Constructor Details

    • ControllerUtil

      public ControllerUtil()
  • Method Details

    • waitForPageReady

      public static void waitForPageReady(org.openqa.selenium.WebDriver driver)
      Waits until the Page is fully loaded
      Parameters:
      driver -
    • getScreenshot

      public static BufferedImage getScreenshot(org.openqa.selenium.WebDriver driver, String name)
      gets a screenshot from the browsers content
      Parameters:
      driver -
      Returns:
      screenshot