systelab-components-wdio-test
Version:
Widgets to be use in the E2E Tests based in WDIO
17 lines (16 loc) • 451 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.Button = void 0;
const widget_js_1 = require("./widget.js");
class Button extends widget_js_1.Widget {
async click() {
await this.elem.click();
}
async isClickable() {
return this.elem.isClickable();
}
async waitUntilClickable(timeout = 500) {
return this.elem.waitToBeClickable(timeout);
}
}
exports.Button = Button;