systelab-components-wdio-test
Version:
Widgets to be use in the E2E Tests based in WDIO
20 lines (19 loc) • 494 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.InputField = void 0;
const widget_js_1 = require("./widget.js");
class InputField extends widget_js_1.Widget {
async clear() {
return this.elem.clear();
}
async setText(text) {
return this.elem.write(text);
}
async getText() {
return this.elem.getValue();
}
async isEnabled() {
return this.elem.isEnabled();
}
}
exports.InputField = InputField;