How to access HtmlDocument for a pop up window?


hi,

i using web browser object in c#. navigates url , clicks on anchor on page came in. results in pop up on top of the main page. 

i unable see html source pop window in browser window. if right click , choose view source see source main window.

question 1: how can see code pop using right click on browser window web browser object

question 2: document completed event provide page pop up?

thanks!

you should learn how use chrome development debugging tool. have page in browser , hit f12-key. ie has development debugging tool f12-key, chrome lot more powerful where can use console , address object like document object , see the content of object, just like in the vs immediate window and doing ?someobject see content of .net object. 

https://developer.chrome.com/extensions/tut_debugging

<copy>

inspect popup

as long browser in developer mode, it's easy inspect popups.

<end>



Visual Studio Languages  ,  .NET Framework  >  Visual C#



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'