I want to click on cancel button in Chrome Authentication pop up window i've used
Robot rn = new robot();
rn.KeyPress(KeyEvent.VK_TAB);
rn.KeyPress(KeyEvent.VK_TAB);
rn.KeyPress(KeyEvent.VK_Enter);
It is not at all working,Please help how to click on Cancel button on Chrome Authentication pop up using selenium.