Selenium WebDriver won't let you add/change request headers
Selenium looks like being a good tool for writing some automated browser tests.
Selenium WebDriver with the python bindings looks like it could be fantastic for doing this.
But then they go and spoil it…
I need to be able to modify the headers in my requests as part of my tests. WebDriver doesn’t let you do that. Worse, its a conscious design choice they have made to not let you do this since they want WD to only do what a user can do.
But, um, doesn’t WD allow you to set/change cookies? Go figure…
So their suggestion is to use a proxy for this.
So AFAICS they’ve taken the main benefit of using WebDriver over the original Selenium (you don’t need to run a separate server process) and removed it. As a design choice….
Looks like I’m not the only person who wants this feature.. http://code.google.com/p/selenium/issues/detail?id=141