@vibe/testkit
Version:
Vibe e2e testing toolkit
21 lines • 740 B
TypeScript
import { Locator, Page } from "@playwright/test";
import { BaseElement } from "./BaseElement";
/**
* Class representing a Link element.
* Extends the BaseElement class.
*/
export declare class Link extends BaseElement {
/**
* Create a Link element.
* @param {Page} page - The Playwright page object.
* @param {Locator} locator - The locator for the Link element.
* @param {string} elementReportName - The name for reporting purposes.
*/
constructor(page: Page, locator: Locator, elementReportName: string);
/**
* Get the href attribute of the link.
* @returns {Promise<string>} The href attribute of the link.
*/
getLinkHref(): Promise<string>;
}
//# sourceMappingURL=Link.d.ts.map