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

Method Capabilities

remote.go:538–551  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

536}
537
538func (wd *remoteWD) Capabilities() (Capabilities, error) {
539 url := wd.requestURL("/session/%s", wd.id)
540 response, err := wd.execute("GET", url, nil)
541 if err != nil {
542 return nil, err
543 }
544
545 c := new(struct{ Value Capabilities })
546 if err := json.Unmarshal(response, c); err != nil {
547 return nil, err
548 }
549
550 return c.Value, nil
551}
552
553func (wd *remoteWD) SetAsyncScriptTimeout(timeout time.Duration) error {
554 if !wd.w3cCompatible {

Callers

nothing calls this directly

Calls 2

requestURLMethod · 0.95
executeMethod · 0.95

Tested by

no test coverage detected