Wednesday, 11 January 2017

java robot class


if you want to perform some click / enter action over one element in  browser


option 1: slenium

option 2: slenium Action class

option 3: java script / jquerry

option 4: java robot class

import java.awt.Robot;

Robot robot1 = new Robot();
robot1.delay(3000);
robot1.keyPress(KeyEvent.VK_ENTER);

No comments:

Post a Comment