How to launch a Google Chrome Tab with specific URL using C#

后端 未结 4 484
渐次进展
渐次进展 2020-12-08 13:33

Is there a way I can launch a tab (not a new Window) in Google Chrome with a specific URL loaded into it from a custom app? My application is coded in

4条回答
  •  粉色の甜心
    2020-12-08 13:41

    // open in default browser
    Process.Start("http://www.stackoverflow.net");
    
    // open in Internet Explorer
    Process.Start("iexplore", @"http://www.stackoverflow.net/");
    
    // open in Firefox
    Process.Start("firefox", @"http://www.stackoverflow.net/");
    
    // open in Google Chrome
    Process.Start("chrome", @"http://www.stackoverflow.net/");
    

提交回复
热议问题