systelab-components-wdio-test
Version:
Widgets to be use in the E2E Tests based in WDIO
16 lines (15 loc) • 344 B
JavaScript
import { Widget } from './widget.js';
export class InputField extends 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();
}
}