Flicks the current view starting at a specific location.
Namespace: OpenQA.Selenium.InteractionsAssembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
public TouchActions Flick( IWebElement onElement, int offsetX, int offsetY, int speed )
Parameters
- onElement
- Type: OpenQA.Selenium IWebElement
The element at which to start the flick.
- offsetX
- Type:
System Int32
The x offset relative to the viewport.
- offsetY
- Type:
System Int32
The y offset relative to the viewport.
- speed
- Type:
System Int32
The speed in pixels per second.
Return Value
A self-reference to this TouchActions.See Also