Can please anyone guide me how i could and than to 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.

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.



Source link https://sqa.stackexchange.com/questions/33059/-code-to-press-f12-and-navigate-to-source-tab

LEAVE A REPLY

Please enter your comment!
Please enter your name here