after a lot of searching i stumbled upon this piece of code (Java):
Actions dragger=new Actions(drive);
WebElement draggablePartOfScrollbar= drive.findElement(By.className("mCSB_dragger_bar"));
int numberOfPixelsToDragTheScrollbarDown=300;
dragger.moveToElement(draggablePartOfScrollbar).clickAndHold().moveByOffset(0,numberOfPixelsToDr
agTheScrollbarDown).release().perform();
May be further modified using loops and specific logics.
Actions dragger=new Actions(drive);
WebElement draggablePartOfScrollbar= drive.findElement(By.className("mCSB_dragger_bar"));
int numberOfPixelsToDragTheScrollbarDown=300;
dragger.moveToElement(draggablePartOfScrollbar).clickAndHold().moveByOffset(0,numberOfPixelsToDr
agTheScrollbarDown).release().perform();
May be further modified using loops and specific logics.
No comments:
Post a Comment
I welcome your comment, will respond and post it at the earliest:)