-
Notifications
You must be signed in to change notification settings - Fork 421
Open
Description
After adding a cookie, refresh, I still can not get the added cookie. Here are the codes, anybody has any idea?
Thanks.
err = webDriver.Get("http://localhost:9080")
if err != nil {
panic(fmt.Sprintf("Failed to load page: %s\n", err))
}
webDriver.AddCookie(&selenium.Cookie{
Name: "eds_aa",
Value: "the check value",
})
webDriver.Refresh()
cookies, _ := webDriver.GetCookies()
for _, v := range cookies {
log.Println("cookie is "+v.Name)
}
Metadata
Metadata
Assignees
Labels
No labels