1

How to press function keys like F12 using selenium (java). Please help me in this. Thanks in Advance

closed as off-topic by Kate Paulk, corsiKa Sep 23 '15 at 21:54

  • This question does not appear to be about software quality assurance or testing within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • I'm voting to close this question as off-topic because it is a trivial question that could be answered with a simple web search – Kate Paulk Sep 23 '15 at 11:14
  • This question in its current form lacks a show of effort. (It actually isn't off-topic, but that's the only real close reason that allows a custom message...) – corsiKa Sep 23 '15 at 21:54
0
you can easily do that using:
Robot rt = new Robot();
rt.keyPress(KeyEvent.VK_F12);

Not the answer you're looking for? Browse other questions tagged or ask your own question.