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

Method FindElements

remote.go:757–764  ·  view source on GitHub ↗
(by, value string)

Source from the content-addressed store, hash-verified

755}
756
757func (wd *remoteWD) FindElements(by, value string) ([]WebElement, error) {
758 response, err := wd.find(by, value, "s", "")
759 if err != nil {
760 return nil, err
761 }
762
763 return wd.DecodeElements(response)
764}
765
766func (wd *remoteWD) Close() error {
767 url := wd.requestURL("/session/%s/window", wd.id)

Callers

nothing calls this directly

Calls 2

findMethod · 0.95
DecodeElementsMethod · 0.95

Tested by

no test coverage detected