Class Operations.Scroll

  • Enclosing class:
    Operations

    public static class Operations.Scroll
    extends Object
    internal implementation not be instantiated directly - Action of scroll
    • Constructor Detail

      • Scroll

        public Scroll​(org.openqa.selenium.WebDriver driver)
    • Method Detail

      • to

        public void to​(Path path)
        Scroll until the location of an element
        Parameters:
        path - the element to scroll to
      • left

        public void left​(Integer n)
        scroll left number of pixels
        Parameters:
        n - pixels
      • right

        public void right​(Integer n)
        scroll right number of pixels
        Parameters:
        n - pixels
      • up

        public void up​(Integer n)
        scroll up number of pixels
        Parameters:
        n - pixels
      • down

        public void down​(Integer n)
        scroll down number of pixels
        Parameters:
        n - pixels