public static class Operations.Scroll extends Object
| Constructor and Description |
|---|
Scroll(org.openqa.selenium.WebDriver driver) |
| Modifier and Type | Method and Description |
|---|---|
void |
down(Integer n)
scroll down number of pixels
|
void |
left(Integer n)
scroll left number of pixels
|
void |
right(Integer n)
scroll right number of pixels
|
void |
to(Path path)
Scroll until the location of an element
|
void |
up(Integer n)
scroll up number of pixels
|
public void to(Path path)
path - the element to scroll topublic void left(Integer n)
n - pixelspublic void right(Integer n)
n - pixelspublic void up(Integer n)
n - pixelspublic void down(Integer n)
n - pixelsCopyright © 2019. All rights reserved.