Call default browser with url and set target

I don’t know if there is a mechanism for this: usually you can just call the startup process with the URL as a string parameter - does anyone have any knowledge or recommendations on how to add a target?

Google was extremely useless, otherwise my queries were a little useless.

As in the behavior you get:

<a href="http://www.google.co.uk" target="_blank">link in a new window</a>
+3
source share
2 answers

What is the harm when starting the default browser?

you can do it, but what if firefox is not available!

ProcessStartInfo proc1 = new ProcessStartInfo("firefox.exe");
proc1.Arguments = "http://www.w3schools.com/tags/att_a_target.asp";
                  //"http://stackoverflow.com";
Process.Start(proc1);
0
source

Try selenium and WebDriver for C #.

0
source

All Articles