Hi.
I have a Java program, that opens a new browser window when I click on on a menu. The Java program requires login, so the html page has a Session ID.
I want to access this page with my C# program, so that I can extract some data from it. Unfortunately, the only way to get to this html page is through the Java client's menu, so there's no way to log in in a html form.
I'd like to get the source of this html page automatically, so I thought about somehow redirecting the event that opens a new browser window if the link starts like my required page.
Another option is to change the default browser to my program before clicking the menu programmatically, and restore the original default browser afterwards.
I know that these ideas may be quite ugly, and there may be much simpler solutions, but I'm a beginner in C#, and I've never done anything like this, so I'd really appreciate any help on how to solve this problem.
Thanks in advance.