1
I'm using Windows 10. According to Microsoft Edge DevTools Protocol docs, I need to launch Edge with the --devtools-server-port
cmd line arg.
i tried to do so via Console, but got an error:
'MicrosoftEdge.exe' is not recognized as an internal or external command, operable program or batch file.
After checking out this thread, it turns out that there is apparently some magic with launching Edge by not using standard shortcut in Start menu.
How can we launch Edge with some cmd line args?
1
See https://stackoverflow.com/questions/31164253/how-to-open-url-in-microsoft-edge-from-the-command-line#31281412
– Clayton – 2018-04-27T18:20:58.343@Clayton: Tried all of those suggestion. While they launch Edge, none seems to be passing
--devtools-server-port
cmd line arg to it. – Alexander Abakumov – 2018-04-27T20:37:19.190Are you running an
Insider Preview build
of windows? From your linkThe Microsoft Edge DevTools Protocol is currently in preview and works only on Windows Insider Preview builds.
– Clayton – 2018-04-27T21:23:22.213@Clayton: Holy moly, you're right! I'm on the stable version on Win 10. Thank you! – Alexander Abakumov – 2018-04-27T21:48:54.037
@AlexanderAbakumov May I request you to add a formal answer to this thread, if you were able to resolve the problem yourself because of incorrect OS version that you were using. It can be really helpful for future readers who face the same problem. – RBT – 2018-08-25T00:05:48.283
@RBT: Sure, please see my answer below.
– Alexander Abakumov – 2018-08-29T19:38:31.970