Open
Description
I'm trying to do a simple "GetAllCookieStores" and I'm hitting what appears to be an infinite recursion when the cookie store is rendered into a map[string]interface{}. Was this a show-stopper for this project or were there any leads on getting it working? This is the most basic thing I could think of trying and it (along with all other get cookie calls) seem to fail miserably.
package main
import (
"github.com/fabioberger/chrome"
"honnef.co/go/js/dom"
)
func main() {
c := chrome.NewChrome()
c.Cookies.GetAllCookieStores(func(cookieStores []chrome.CookieStore) {
dom.GetWindow().Document().GetElementByID("notification").SetInnerHTML("getting stores")
})
}
Metadata
Metadata
Assignees
Labels
No labels