Re: [wtr-general] Passing in a host header?

2014-01-10 Thread Ċ½eljko Filipin
On Thu, Jan 9, 2014 at 11:20 AM, Stephen Nelson-Smith sanel...@gmail.com wrote: 1) The browser goto method just takes a string. I can't see how to do anything as clever as pass HTTP headers. This is how to do it with PhantomJS: http://stackoverflow.com/a/20568647/17469 I am not sure if it

[wtr-general] Passing in a host header?

2014-01-09 Thread Stephen Nelson-Smith
The requirement: The website under test must be called with a specific name. In DNS that will resolve to something other than the machine against which I am testing. If I hit the IP I will get the default vhost, not the website I wish to test. Suggested solutions: 1) Make Watir pass in a