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

Method remote

javascript/selenium-webdriver/testing/index.js:307–309  ·  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

305 * @return {function(): boolean} a new predicate function.
306 */
307 remote() {
308 return () => URL_MAP.get(this) !== null
309 }
310
311 /**
312 * @return {!Builder} a new WebDriver builder configured to target this

Callers 1

Calls 1

getMethod · 0.65

Tested by

no test coverage detected