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

Function isFrameLocator

lib/helper/Puppeteer.js:3418–3425  ·  view source on GitHub ↗
(locator)

Source from the content-addressed store, hash-verified

3416}
3417
3418function isFrameLocator(locator) {
3419 locator = new Locator(locator)
3420 if (locator.isFrame()) {
3421 const _locator = new Locator(locator)
3422 return _locator.value
3423 }
3424 return false
3425}
3426
3427function assertElementExists(res, locator, prefix, suffix) {
3428 if (!res || res.length === 0) {

Callers 1

_withinBeginMethod · 0.70

Calls 1

isFrameMethod · 0.80

Tested by

no test coverage detected