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

Method grabWebElement

lib/helper/Playwright.js:1840–1843  ·  view source on GitHub ↗

* {{> grabWebElement }} *

(locator)

Source from the content-addressed store, hash-verified

1838 *
1839 */
1840 async grabWebElement(locator) {
1841 const element = await this._locateElement(locator)
1842 return new WebElement(element, this)
1843 }
1844
1845 /**
1846 * Switch focus to a particular tab by its number. It waits tabs loading and then switch tab

Callers

nothing calls this directly

Calls 1

_locateElementMethod · 0.95

Tested by

no test coverage detected