UNPKG

@assert-equals/dappdriver

Version:

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

14 lines (13 loc) 449 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PlaywrightLink = void 0; const html_element_1 = require("./html-element"); class PlaywrightLink extends html_element_1.PlaywrightHTMLElement { constructor(cssLocator) { super(cssLocator); } async location() { return await this.webElement.getAttribute('href', { timeout: this.timeout }); } } exports.PlaywrightLink = PlaywrightLink;