MCPcopy Create free account
hub / github.com/tebeka/selenium / Get

Method Get

remote.go:626–637  ·  view source on GitHub ↗
(url string)

Source from the content-addressed store, hash-verified

624}
625
626func (wd *remoteWD) Get(url string) error {
627 requestURL := wd.requestURL("/session/%s/url", wd.id)
628 params := map[string]string{
629 "url": url,
630 }
631 data, err := json.Marshal(params)
632 if err != nil {
633 return err
634 }
635 _, err = wd.execute("POST", requestURL, data)
636 return err
637}
638
639func (wd *remoteWD) Forward() error {
640 return wd.voidCommand("/session/%s/forward", nil)

Callers 2

testLogFunction · 0.95
runTestProxyFunction · 0.95

Calls 2

requestURLMethod · 0.95
executeMethod · 0.95

Tested by 2

testLogFunction · 0.76
runTestProxyFunction · 0.76