MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / _setConfig

Method _setConfig

lib/helper/Puppeteer.js:288–297  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

286 }
287
288 _setConfig(config) {
289 this.options = this._validateConfig(config)
290 this.puppeteerOptions = {
291 headless: !this.options.show,
292 ...this._getOptions(config),
293 }
294 if (this.puppeteerOptions.headless) this.puppeteerOptions.headless = 'new'
295 this.isRemoteBrowser = !!this.puppeteerOptions.browserWSEndpoint
296 popupStore.defaultAction = this.options.defaultPopupAction
297 }
298
299 static _config() {
300 return [

Callers 6

constructorMethod · 0.95
createMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
updateHelperConfigFunction · 0.45
restoreCallbackFunction · 0.45

Calls 2

_validateConfigMethod · 0.95
_getOptionsMethod · 0.95

Tested by

no test coverage detected