Please, check the below link. How to close this:
Asked
Active
Viewed 597 times
-1
-
If is it an Javascript alert, use WebUI.acceptAlert(). If not, please share your pages HTML code. – Mate Mrše Oct 04 '18 at 07:14
1 Answers
0
You can write an AutoIT
script for this purpose or simply use java.awt.Robot
class to send an ENTER.
Robot robot = new Robot();
robot.delay(3000);
robot.keyPress(KeyEvent.VK_ENTER);
robot.keyRelease(KeyEvent.VK_ENTER);

plaidshirt
- 5,189
- 19
- 91
- 181