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.
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.