Is there an API in Windows that can be invoked instead, that will open Edge, perhaps even if it is not the current default browser? I would like to be able to launch something in Edge even if I have set another browser as my default though, for the purpose of automating certain web-testing tasks.
Are there programmatic interfaces or APIs for Edge? For purposes of this question, let's say I want to write this in C, but this should be the same API no matter what language I'm using so I didn't tag this question C. If there is no way to do it programmatically, is there a command line argument I could use and pass to a MicrosoftEdge or MicrosoftEdgeCP executable?
This is currently not supported, but the team is evaluating it as an option. For the time being, the easiest way to open a resource in Edge is by using the microsoft-edge: protocol handler. New MS has updated it and it now works normally. Eg: Tested at cmd prompt on my w10 64b PC. I'm no fan of MS, but here's their slow Egde Link for the latest version. The following works for local files and also accepts queries?
Microsoft introduced App Aliases, if you check your AppData folder, which is included in Windows path automatically, you will find MicrosoftEdge. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Ask Question. Asked 6 years ago.
Active 1 year, 7 months ago. Viewed 66k times. Improve this question. Warren P. Warren P Warren P I have a vague idea maybe you have to use LaunchWinApp. MS has now updated it. See my latest answer below.
Timo, yep my simple solution at bottom of this question defo still works. List of Partners vendors. Share Flipboard Email. By Jennifer Kyrnin Jennifer Kyrnin. Learn about our Editorial Process. Type Notepad in the Windows search bar to find and open Notepad. Don't save the file with a.
Featured Video. Cite this Article Format. Kyrnin, Jennifer. Common File Types and File Extensions. Your Privacy Rights. To change or withdraw your consent choices for ThoughtCo. At any time, you can update your settings through the "EU Privacy" link at the bottom of any page.
These choices will be signaled globally to our partners and will not affect browsing data. Select personalised content.
Create a personalised content profile. Measure ad performance. Select basic ads. Create a personalised ads profile. Select personalised ads. Apply market research to generate audience insights. Measure content performance. Develop and improve products. List of Partners vendors. Share Flipboard Email. By Jennifer Kyrnin Jennifer Kyrnin. Learn about our Editorial Process. Featured Video. Cite this Article Format. Kyrnin, Jennifer.
0コメント