Operations.Scroll

public static class Scroll

internal implementation not be instantiated directly - Action of scroll

Constructors

Scroll

public Scroll(WebDriver driver)

Methods

down

public void down(Integer n)

scroll down number of pixels

Parameters:
  • n – pixels

left

public void left(Integer n)

scroll left number of pixels

Parameters:
  • n – pixels

to

public void to(Path path)

Scroll until the location of an element

Parameters:
  • path – the element to scroll to

up

public void up(Integer n)

scroll up number of pixels

Parameters:
  • n – pixels