Class WindowUtils


  • public final class WindowUtils
    extends Object
    Handles window utilities (like scrolling etc)
    • Constructor Detail

      • WindowUtils

        public WindowUtils()
    • Method Detail

      • 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 instance
        webElement - active WebElement, already located