"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DomTextContent = void 0;
const _extract_js_1 = require("./_extract.js");
class DomTextContent extends _extract_js_1.DomExtractPipe {
    getDatum(info) {
        return info.textContent;
    }
}
exports.DomTextContent = DomTextContent;
DomTextContent.$type = 'DOM.getTextContent';
DomTextContent.$help = `
Returns \`textContent\` DOM property of elements.

### Use For

- reading \`textContent\` specifically
  (i.e. when fallback logic of Extract Text produces incorrect or unwanted results)
`;
//# sourceMappingURL=DOM.getTextContent.js.map