MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / cssMany

Function cssMany

javascript/atoms/typescript/find-elements.ts:53–59  ·  view source on GitHub ↗
(target: string, root: Root)

Source from the content-addressed store, hash-verified

51 }
52
53 function cssMany(target: string, root: Root): Element[] {
54 try {
55 return Array.from(root.querySelectorAll(target))
56 } catch (_e) {
57 throw botError(INVALID_SELECTOR, 'An invalid or illegal CSS selector was specified: ' + target)
58 }
59 }
60
61 function idMany(target: string, root: Root): Element[] {
62 if (!target) {

Callers 1

find-elements.tsFile · 0.85

Calls 2

botErrorFunction · 0.85
fromMethod · 0.45

Tested by

no test coverage detected