MCPcopy Create free account
hub / github.com/webdriverio/webdriverio / log

Method log

packages/wdio-cli/src/interface.ts:231–234  ·  view source on GitHub ↗

* for testing purposes call console log in a static method

(...args: unknown[])

Source from the content-addressed store, hash-verified

229 * for testing purposes call console log in a static method
230 */
231 log(...args: unknown[]) {
232 console.log(...args)
233 return args
234 }
235
236 logHookError(error: Error | HookError) {
237 if (error instanceof HookError) {

Callers 15

onStartMethod · 0.95
onTestErrorMethod · 0.95
logHookErrorMethod · 0.95
onMessageMethod · 0.95
sigintTriggerMethod · 0.95
printReportersMethod · 0.95
printSummaryMethod · 0.95
shim-async.test.tsFile · 0.45
runFunction · 0.45
createWebdriverIOFunction · 0.45
installPackagesFunction · 0.45
printAndExitFunction · 0.45

Calls

no outgoing calls

Tested by 1

namedFunctionFunction · 0.36