Hi,
I am developing a Tool that want to open a webpage, login into that, Click Create issue button, when the button clicks the new Pop-up window is opening. i The tool want to fill the details by it self. then it should click the submit button.
I complete untill click the create issue button. I am using the WebBrowser. i capture the html code using Webbrowser.Document. Now my problem is, i cant get the Pop-up window code. That's a issue feed Window. I don't know how to get that code in webbrowser.Document. can any one help me.
I am using c#.
Thankz in Advance.
Manikandan MurugesanPosted Jul 17, 2017, 8:52 PM
I recently ran across a very similar situation. In my case, the popup browser didn't share the session of the embedded browser. What I had to do was capture the NewWindow event and cancel it, then send the intended URL to the embedded browser. I needed to use the ActiveX browser instance because it gives you the URL that was attempting to launch. Here is my code:
You will need to add the Microsoft Internet Controls COM reference to your project for this to work.