UNPKG

webdriverio

Version:

Next-gen browser and mobile automation test framework for Node.js

13 lines (10 loc) 332 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = getCSSProperty; var _utils = require("../../utils"); async function getCSSProperty(cssProperty) { const cssValue = await this.getElementCSSValue(this.elementId, cssProperty); return (0, _utils.parseCSS)(cssValue, cssProperty); }