top of page

How to scroll page in selenium webdriver using Robot Class


 Robot rb=new Robot();
 rb.keyPress(KeyEvent.VK_PAGE_DOWN);
 rb.keyRelease(KeyEvent.VK_PAGE_DOWN);



8 views0 comments

Recent Posts

See All

POM Concept

While writing a page object method which of the following "method signature" you think is/are correct & Why? public String getScreenDataAndGoToNextScreen() public boolean login(String username, String

留言


bottom of page