When I use WatiN to go to a specific web page, how can I fake the HTTP referrer with a query string (i.e. request is from google search with query string q=search_term)? So I can verify that the response header has the 301 redirect for specific referrer URL.
I may need to use FiddlerCore to act like a middle man to set the custom referrer but I am not sure how to do that just yet.
I am using ASP.NET with C#.
Thanks!
//WatiN
Browser.GoTo(url);