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

Method grabCssPropertyFrom

lib/helper/Playwright.js:2785–2790  ·  view source on GitHub ↗

* {{> grabCssPropertyFrom }} *

(locator, cssProperty)

Source from the content-addressed store, hash-verified

2783 *
2784 */
2785 async grabCssPropertyFrom(locator, cssProperty) {
2786 const cssValues = await this.grabCssPropertyFromAll(locator, cssProperty)
2787 assertElementExists(cssValues, locator)
2788 this.debugSection('CSS', cssValues[0])
2789 return cssValues[0]
2790 }
2791
2792 /**
2793 * {{> grabCssPropertyFromAll }}

Callers 1

Calls 2

assertElementExistsFunction · 0.70

Tested by

no test coverage detected