UNPKG

playwright-fluent

Version:
12 lines (11 loc) 364 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getAttributeOfHandle = void 0; async function getAttributeOfHandle(attributeName, selector) { if (!selector) { return null; } const result = await selector.getAttribute(attributeName); return result; } exports.getAttributeOfHandle = getAttributeOfHandle;