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

Method remote

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

* Returns a predicate function that will suppress tests in this environment * when it runs them through a Selenium server (such as a Grid) rather than a * browser driver started locally. * * ignore(env.remote()).it('reads a browser preference', ...) * * @return {function(): boo

()

Source from the content-addressed store, hash-verified

309 * @return {function(): boolean} a new predicate function.
310 */
311 remote() {
312 return () => URL_MAP.get(this) !== null
313 }
314
315 /**
316 * Returns a predicate function that will suppress tests in this environment

Callers 1

Calls 1

getMethod · 0.65

Tested by

no test coverage detected