TouchActions Scroll Method (IWebElement, Int32, Int32)WebDriver
Scrolls the touch screen beginning at the specified element.

Namespace: OpenQA.Selenium.Interactions
Assembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

public TouchActions Scroll(
	IWebElement onElement,
	int offsetX,
	int offsetY
)

Parameters

onElement
Type: OpenQA.Selenium IWebElement
The element on which to begin scrolling.
offsetX
Type: OnlineSystem Int32
The x coordinate relative to the view port.
offsetY
Type: OnlineSystem Int32
The y coordinate relative to the view port.

Return Value

A self-reference to this TouchActions.
See Also