import { Page } from "@playwright/test";

export class HomePage {
    page: Page;

    constructor(page: Page) {
        this.page = page;
    }

    xpathDiscountHeaderBarNew = "//div[contains(@class, 'essential_countdown_annoucement_bar_wrapper')]"
    xpathAnnouncementBar = "//div[contains(@class, 'announcement-bar__wrapper')]";
    
    async goToHomePage(url: string) {
        await this.page.goto(url);
    }
}