Class ControllerUtil
java.lang.Object
org.mycore.iview.tests.controller.ControllerUtil
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BufferedImage
getScreenshot
(org.openqa.selenium.WebDriver driver, String name) gets a screenshot from the browsers contentstatic void
waitForPageReady
(org.openqa.selenium.WebDriver driver) Waits until the Page is fully loaded
-
Field Details
-
RESULT_FOLDER
- See Also:
-
SCREENSHOT_FOLDER
-
-
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
gets a screenshot from the browsers content- Parameters:
driver
-- Returns:
- screenshot
-