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

Function isFrameLocator

lib/helper/Playwright.js:4591–4597  ·  view source on GitHub ↗
(locator)

Source from the content-addressed store, hash-verified

4589}
4590
4591function isFrameLocator(locator) {
4592 locator = new Locator(locator)
4593 if (locator.isFrame()) {
4594 return locator.value
4595 }
4596 return false
4597}
4598
4599function assertElementExists(res, locator, prefix, suffix) {
4600 // if element text is an empty string, just exit this check

Callers 1

_withinBeginMethod · 0.70

Calls 1

isFrameMethod · 0.80

Tested by

no test coverage detected