MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / js

Function js

javascript/selenium-webdriver/lib/by.js:192–196  ·  view source on GitHub ↗
(script, ...var_args)

Source from the content-addressed store, hash-verified

190 * A new JavaScript-based locator function.
191 */
192 static js(script, ...var_args) {
193 return function (driver) {
194 return driver.executeScript.call(driver, script, ...var_args)
195 }
196 }
197
198 /**
199 * Locates elements whose `name` attribute has the given value.

Callers

nothing calls this directly

Calls 1

callMethod · 0.65

Tested by

no test coverage detected