本文介绍了启动微软边缘与code网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要从C#应用程序特定的URL启动Microsoft边缘的浏览器。我该怎么办呢?什么是检索安装Microsoft边缘的路径,并把它传递适当的参数的最佳方法?
我想直接启动它无需安装任何的webdriver。
I need to launch the Microsoft Edge browser with a specific URL from a c# application. How can I do that? What's the best way to retrieve the path where Microsoft Edge is installed and call it passing the appropriate arguments?I would like to launch it directly without installing any webdriver.
我看到这个How在命令行中微软边缘打开URL?但不能让它从code工作。
I saw this How to open URL in Microsoft Edge from the command line? but couldn't make it work from code.
感谢。
推荐答案
我想通了这一点。
您可以使用微软边缘调用浏览器。//www.yoursite.com
命令行
这篇关于启动微软边缘与code网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!