first
This commit is contained in:
14
page-objects/HomePage.ts
Normal file
14
page-objects/HomePage.ts
Normal file
@ -0,0 +1,14 @@
|
||||
import { Locator, Page } from "@playwright/test";
|
||||
export class HomePage {
|
||||
page: Page;
|
||||
|
||||
constructor(page: Page) {
|
||||
this.page = page;
|
||||
}
|
||||
|
||||
async gotoHome() {
|
||||
await this.page.goto(
|
||||
"https://lukaskanka.cz/YourTravelAssistant/cestovatel.html"
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user