await this.UkBtn.click(); await expect(this.page).toHaveURL('https://uk.com')
is what i've ever used to validate a URL but for now it's not working again
This thread is trying to answer question "How's the best way to Validate a URL?"
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].