Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 243 by
chmielss...@gmail.com: addCustomRequestHeaders doesn't work
http://code.google.com/p/robotframework-seleniumlibrary/issues/detail?id=243
With current version command:
selenium.addCustomRequestHeaders doesn't work - it does return success but
is ineffective - user specified headers are not added to requests. Selenium
server is missing parameter addCustomRequestHeaders=true when initializing
new session.
Proposed patch:
--- selenium.py 2012-03-19 19:57:19.000000000 +0100
+++ selenium.py 2012-06-21 16:02:41.666887363 +0200
@@ -186,7 +186,6 @@
start_args = [self.browserStartCommand, self.browserURL,
self.extensionJs]
if browserConfigurationOptions:
start_args.append(browserConfigurationOptions)
- start_args.append("addCustomRequestHeaders=true")
result = self.get_string("getNewBrowserSession", start_args)
try:
self.sessionId = result