Can please anyone guide me how i could Press
F12 and than navigate to source tab in Developer tool in Chrome.
I was able to do it till pressing
F12, but i am not able to Navigate to source, since the focus is not moved to developer tool so that with Tab click we could navigate to source tab.
Code for Pressing F12-
robot = new Robot(); robot.keyPress(KeyEvent.VK_F12); robot.keyRelease(KeyEvent.VK_F12);
Could anyone please suggest me some solution or work around.