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

Function isHeadless

javascript/selenium-webdriver/testing/index.js:260–262  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

258}
259
260function isHeadless() {
261 return process.env['SE_HEADLESS'] === 'true'
262}
263
264const TARGET_MAP = /** !WeakMap<!Environment, !TargetBrowser> */ new WeakMap()
265const URL_MAP = /** !WeakMap<!Environment, ?(string|remote.SeleniumServer)> */ new WeakMap()

Callers 1

builderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected