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

Function isFrameLocator

lib/helper/WebDriver.js:3271–3275  ·  view source on GitHub ↗
(locator)

Source from the content-addressed store, hash-verified

3269}
3270
3271function isFrameLocator(locator) {
3272 locator = new Locator(locator)
3273 if (locator.isFrame()) return locator.value
3274 return false
3275}
3276
3277function assertElementExists(res, locator, prefix, suffix) {
3278 if (!res || res.length === 0) {

Callers 1

_withinBeginMethod · 0.70

Calls 1

isFrameMethod · 0.80

Tested by

no test coverage detected