public TouchActions scroll ( WebElement onElement , int xOffset , int yOffset ) { if ( touchScreen != null ) { action . addAction ( new ScrollAction ( touchScreen , ( Locatable ) onElement , xOffset , yOffset ) ) ; } return this ; }
Creates a scroll gesture that starts on a particular screen location .