Bug 165951
Summary: | SafariDriver fails to addCookie | ||
---|---|---|---|
Product: | WebKit | Reporter: | slawekradz |
Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | ap, bburg |
Priority: | P2 | ||
Version: | Safari 10 | ||
Hardware: | Mac | ||
OS: | macOS 10.12 |
slawekradz
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Blaze Burg
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.