Playwright start

This commit is contained in:
2026-05-30 10:04:12 -04:00
parent 73f29cea08
commit 1f7a0819fc
108 changed files with 37445 additions and 62 deletions
+19
View File
@@ -0,0 +1,19 @@
class NavigationBar {
constructor(website) {
this.website = website;
}
get searchButton() { return this.website.findScreenSpecific('searchButton'); }
async clickHomeLink() {
await this.website.clickElement(this.website.locator('a:has-text("IGP Fan Reference")'));
return this;
}
async clickSearchButton() {
await this.website.clickElement(this.searchButton);
return this.website.websiteSearchDialog;
}
}
module.exports = NavigationBar;