Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You can change the request header to masquarade the browser control as Firefox but the response you'll get will be for Firefox, not for IE, so the WebBrowser control probably won't render it correctly.</p> <p>Indeed, the WebBrowser control is IE.</p> <p><strong>Edit</strong>:</p> <p>In your comment you said, you only need the HTML of a page to simulate a button click on that page. If this is the case, you can try using the <a href="http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.aspx" rel="nofollow"><code>HttpWebRequest</code></a>/<a href="http://msdn.microsoft.com/en-us/library/system.net.httpwebresponse.aspx" rel="nofollow"><code>HttpWebResponse</code></a> objects to send/receive HTTP requests to a server. You can use these to send any header so you can easily simulate any browser by sending the right headers. You can use Fiddler to first navigate to the site and save the requests in Firefox and then use information from those requests to build your <code>HttpWebRequest</code> objects.</p> <p>Once you have the HTML in hand, you can parse it and do however you please. If you need to click a button that triggers a postback to the server, you can likely parse relevant data from the HTML response and then build a POST request. <code>HttpWebRequest</code> works in both synchronous and asynchronous modes, so you can either download a page using a few lines of code or you can control the entire download process (this is more complicated).</p> <p>I know this is not what you initially asked about but if you don't actually need to display the page content, this may work better for you.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload