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