Scrolls the touch screen beginning at the specified element.
Namespace: OpenQA.Selenium.InteractionsAssembly: 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:
System Int32
The x coordinate relative to the view port.
- offsetY
- Type:
System Int32
The y coordinate relative to the view port.
Return Value
A self-reference to this TouchActions.See Also