e2ed
Version:
E2E testing framework over Playwright
14 lines (13 loc) • 488 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.selectText = void 0;
const log_1 = require("../utils/log");
/**
* Selects text in input elements.
*/
const selectText = (selector, startPos = 0, endPos, options) => {
(0, log_1.log)(`Select text in input element, from ${startPos} to ${endPos ?? 'the end'}`, { options, selector }, 5 /* LogEventType.InternalAction */);
// TODO
return Promise.resolve();
};
exports.selectText = selectText;