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

Method headless

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

* Returns a predicate function that will suppress tests in this environment * when it starts browsers headless, as requested by `SE_HEADLESS=true`. * * ignore(env.headless()).it('installs an extension', ...) * * @return {function(): boolean} a new predicate function.

()

Source from the content-addressed store, hash-verified

321 * @return {function(): boolean} a new predicate function.
322 */
323 headless() {
324 return isHeadless
325 }
326
327 /**
328 * @return {!Builder} a new WebDriver builder configured to target this

Callers 2

options_test.jsFile · 0.45
options_test.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected