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

Function isStrictStep

lib/helper/extras/elementSelection.js:12–16  ·  view source on GitHub ↗
(opts, helper)

Source from the content-addressed store, hash-verified

10}
11
12function isStrictStep(opts, helper) {
13 if (opts?.exact === true || opts?.strictMode === true) return true
14 if (opts?.exact === false || opts?.strictMode === false) return false
15 return helper.options.strict
16}
17
18function selectElement(els, locator, helper) {
19 const opts = store.currentStep?.opts

Callers 1

selectElementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected