D
D
Daniel Demidko2017-04-15 16:34:05
.NET
Daniel Demidko, 2017-04-15 16:34:05

How to launch a browser?

I am writing a cross platform application on .NET Core.
At some point, you need to open the link in your default browser.
Just sending a link to Process.Start will not work, it throws an error.
How to make it work correctly for Windows, Unix, and Mac?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
RouR, 2017-04-18
@DanielDemidko

via selenium

J
John_Nash, 2017-04-15
@John_Nash

In Windows Process.Start should work. Naturally, the user under which the application is running must have the rights to launch the browser. On unix and mac, you may need something else.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question