[Webkit-unassigned] [Bug 229284] New: Safari webextension cannot pick up cookies from Safari started by safaridriver
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 19 00:45:20 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=229284
Bug ID: 229284
Summary: Safari webextension cannot pick up cookies from Safari
started by safaridriver
Product: WebKit
Version: Safari 14
Hardware: Mac (Intel)
OS: macOS 11
Status: NEW
Severity: Normal
Priority: P2
Component: WebDriver
Assignee: webkit-unassigned at lists.webkit.org
Reporter: idem7x at gmail.com
CC: bburg at apple.com
Created attachment 435850
--> https://bugs.webkit.org/attachment.cgi?id=435850&action=review
Cookies are not updated after refresh
Hi, I am working on automation tests for Safari webextension. Currently if I install webextension and open Safari instance, then go to simple page that set cookies, webextension can pick it up.
In case I start tests using safaridriver, it opens Safari instance, opens simple page that set cookies, but when I click on webextension icon, then click "Stop session", I see webextension did not pick up cookies.
This extension just get all the cookies for the current tab, using the API here https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/cookies/getAll.
I am checking it on Safari 14.1.1 and macOS Big Sur. Same behavior I see on Safari Technology Preview.
Can someone help me with it? Link with WDIO project example - https://github.com/idem7x/safaribug.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210819/e3a5e151/attachment.htm>
More information about the webkit-unassigned
mailing list