I want to open automatically inspect element through javascript in documnets.ready function without pressing key on keyboard
Asked
Active
Viewed 209 times
1 Answers
2
Similar in essence to: Programmatically triggering Ctrl+S
And I believe the given answer would apply here too,
There is no way to programmatically trigger input keys in the sandboxed browser environment under normal circumstances.
but I stand to be corrected.
-
But i need specific - want to open inspect elements through javascript, can you please write code for me ? – BJ Coder May 14 '16 at 14:35
-
Sorry if there was any confusion. What I was trying to say is. "I don't believe what you are asking to do is possible". Why do you need to do this? There may be other solutions. – Morvael May 16 '16 at 06:41