Skip to content

Commit

Permalink
Update DumpCookies method
Browse files Browse the repository at this point in the history
  • Loading branch information
rkervella committed Mar 20, 2023
1 parent 3f5c434 commit 918d729
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/overlord/overlord.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import (
"github.com/chromedp/cdproto/cdp"
"github.com/chromedp/cdproto/network"
"github.com/chromedp/cdproto/page"
"github.com/chromedp/cdproto/storage"
"github.com/chromedp/cdproto/target"
"github.com/chromedp/chromedp"
)
Expand Down Expand Up @@ -275,7 +276,7 @@ func DumpCookies(curse *core.CursedProcess, webSocketURL string) ([]*network.Coo
dumpCookieTasks := chromedp.Tasks{
// read network values
chromedp.ActionFunc(func(ctx context.Context) error {
cookies, err = network.GetCookies().Do(ctx)
cookies, err = storage.GetCookies().Do(ctx)
if err != nil {
return err
}
Expand Down

0 comments on commit 918d729

Please sign in to comment.