e2ed
Version:
E2E testing framework over Playwright
13 lines (12 loc) • 399 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.blur = void 0;
const log_1 = require("../utils/log");
/**
* Blur an element.
*/
const blur = async (selector, options = {}) => {
(0, log_1.log)('Blur an element', { ...options, selector }, 5 /* LogEventType.InternalAction */);
await selector.getPlaywrightLocator().blur(options);
};
exports.blur = blur;