@assert-equals/dappdriver
Version:
DappDriver is an e2e testing framework designed for testing decentralized applications (dApps) using MetaMask, Rainbow or Zerion
17 lines (16 loc) • 499 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PlaywrightRadio = void 0;
const html_element_1 = require("./html-element");
class PlaywrightRadio extends html_element_1.PlaywrightHTMLElement {
constructor(cssLocator) {
super(cssLocator);
}
async isSelected() {
return await this.webElement.isChecked({ timeout: this.timeout });
}
async select() {
await this.click();
}
}
exports.PlaywrightRadio = PlaywrightRadio;