MCPcopy Index your code
hub / github.com/tebeka/selenium / AddCookie

Method AddCookie

remote.go:1007–1011  ·  view source on GitHub ↗
(cookie *Cookie)

Source from the content-addressed store, hash-verified

1005}
1006
1007func (wd *remoteWD) AddCookie(cookie *Cookie) error {
1008 return wd.voidCommand("/session/%s/cookie", map[string]*Cookie{
1009 "cookie": cookie,
1010 })
1011}
1012
1013func (wd *remoteWD) DeleteAllCookies() error {
1014 url := wd.requestURL("/session/%s/cookie", wd.id)

Callers

nothing calls this directly

Calls 1

voidCommandMethod · 0.95

Tested by

no test coverage detected