MCPcopy
hub / github.com/SeleniumHQ/selenium / browsers

Method browsers

javascript/selenium-webdriver/testing/index.js:288–290  ·  view source on GitHub ↗

* Returns a predicate function that will suppress tests in this environment * if the plain #browser current browser is in the list of * `browsersToIgnore`. * * @param {...(string|!Browser)} browsersToIgnore the browsers that should * be ignored. * @return {function(): bo

(...browsersToIgnore)

Source from the content-addressed store, hash-verified

286 * @return {function(): boolean} a new predicate function.
287 */
288 browsers(...browsersToIgnore) {
289 return () => browsersToIgnore.indexOf(this.browser.name) !== -1
290 }
291
292 /**
293 * @return {!Builder} a new WebDriver builder configured to target this

Callers 15

proxy_test.jsFile · 0.80
browsersFunction · 0.80
logging_test.jsFile · 0.80
cookie_test.jsFile · 0.80
browsersFunction · 0.80
actions_test.jsFile · 0.80
browsersFunction · 0.80
upload_test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected