How to open browser from c# application?

Sagar-Jaybhay

Member
Joined
Feb 19, 2019
Messages
8
Location
Pune
Programming Experience
5-10
I am able to call browser and open tab in that browser but when second time i run the program i need to open tab if already present else open new tab ?
 
There really is no remotely simple answer to this. Opening a browser from C# code is done by calling Process.Start and passing a URL. The URL is passed on to the user's default browser and it's completely up to that application to determine how to handle it. Anything you might be able to do would not be consistent across browsers and no browser application that I'm aware of has been written with automation in mind.
 
Back
Top Bottom