MCPcopy
hub / github.com/codeceptjs/CodeceptJS / getBrowserHelper

Function getBrowserHelper

lib/utils/pluginParser.js:143–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

141 * Return the first available standard browser helper, or null.
142 */
143export function getBrowserHelper() {
144 const helpers = Container.helpers()
145 for (const name of supportedHelpers) {
146 if (Object.keys(helpers).indexOf(name) > -1) {
147 return helpers[name]
148 }
149 }
150 return null
151}

Callers 9

screenshot.jsFile · 0.90
wireOnUrlFunction · 0.90
takeScreenshotFunction · 0.90
persistStepFunction · 0.90
initUrlModeFunction · 0.90
heal.jsFile · 0.90
screencast.jsFile · 0.90
startScreencastFunction · 0.90
finalizeScreencastFunction · 0.90

Calls 1

helpersMethod · 0.80

Tested by

no test coverage detected