UNPKG

@assert-equals/dappdriver

Version:

DappDriver is an e2e testing framework designed for testing decentralized applications (dApps) using MetaMask, Rainbow or Zerion

36 lines (35 loc) 896 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ImportSelect = void 0; const __1 = require("../.."); const controls_1 = require("../../../controls"); const page_1 = require("../../../page"); /** * * * @export * @class ImportSelect * @extends {PageObject} */ class ImportSelect extends page_1.PageObject { get addWalletsButton() { return new controls_1.HTMLElement('[data-testid="add-wallets-button"]'); } /** * Creates an instance of ImportSelect. * @memberof ImportSelect */ constructor() { super('/popup.html#/import/select', 'Rainbow Wallet'); } /** * * * @return {*} {Promise<CreatePassword>} * @memberof ImportSelect */ async importWalletGroup() { return await this.addWalletsButton.click(__1.CreatePassword); } } exports.ImportSelect = ImportSelect;