Package uk.co.evoco.webdriver.utils
Class WindowUtils
java.lang.Object
uk.co.evoco.webdriver.utils.WindowUtils
public final class WindowUtils
extends java.lang.Object
Handles window utilities (like scrolling etc)
-
Constructor Summary
Constructors Constructor Description WindowUtils() -
Method Summary
Modifier and Type Method Description static voidscrollIntoView(org.openqa.selenium.WebDriver webDriver, org.openqa.selenium.WebElement webElement)Scrolls a given element into the Viewport view
-
Constructor Details
-
WindowUtils
public WindowUtils()
-
-
Method Details
-
scrollIntoView
public static void scrollIntoView(org.openqa.selenium.WebDriver webDriver, org.openqa.selenium.WebElement webElement)Scrolls a given element into the Viewport view- Parameters:
webDriver- active WebDriver instancewebElement- active WebElement, already located
-