RESOLVED INVALID 165951
SafariDriver fails to addCookie
https://bugs.webkit.org/show_bug.cgi?id=165951
Summary SafariDriver fails to addCookie
slawekradz
Reported 2016-12-16 06:41:40 PST
All getDriver().manage() Cookie-related methods don't seem to work with up-to-date Safari on Mac OS Sierra Setup + Exception org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 10 milliseconds Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:49:13 -0700' System info: host: 'MP18570.local', ip: '10.244.250.124', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.1', java.version: '1.8.0_112' Driver info: org.openqa.selenium.safari.SafariDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, databaseEnabled=true, handlesAlerts=true, version=12602.2.14.0.5, cleanSession=true, platform=MAC, nativeEvents=true, locationContextEnabled=false, webStorageEnabled=true, browserName=safari, javascriptEnabled=true, cssSelectorsEnabled=true}] Steps to reproduce: 1. Open some random site 2. Add cookie using getDriver().manage().addCookie(new Cookie.Builder("RANDOM", "set by selenium").build()); Test fails with Exception presented above
Attachments
Blaze Burg
Comment 1 2016-12-17 15:52:44 PST
Please file Safari WebDriver related bugs to bugreport.apple.com. They are not generally considered WebKit bugs unless the fix happens to be in WebKit, which is not known at this point.
Note You need to log in before you can comment on or make changes to this bug.