AFAIK, this is not possible, since selenium only drives the browser. An alternative is to modify the headers on the browser i.e. by using the Modify Headers addon for firefox.
I am trying to use the latest version of the selenium client with the selenium grid. I know that deep test requires rspec 1.1.8 because it overrides spec task in rspec. I am having trouble managing my rspec gem versions because I must have 1.1.8 for deep test and the grid, but the selenium client has gem "rspec", "=1.2.8" in a few places.
selenium-client has a bug where if the response doesn't start with
"OK" it swallows the first three chars (leading to annoying "ed
out after 5000 msec" messages)
using a valid for id i receive the following error
(rdb:1) selenium.submit('purchase_order_payment')
Selenium::CommandError Exception: OR: Command execution failure. Please search the forum at http://clearspace.openqa.org for error details from the log window. The error message is: formElement.submit is not a function
(ps : the idea is to be able to set the "Accept-Language" header to something like "fr")
AFAIK, this is not possible, since selenium only drives the browser. An alternative is to modify the headers on the browser i.e. by using the Modify Headers addon for firefox.