Blogger
Ashwin R
Ashwin possesses over 7 years of experience in the Quality Assurance industry. His expertise encompasses a broad range of technologies, including Cypress, Rest Assured, Selenium, Cucumber, JavaScript and TypeScript.
The newest addition to Automation Framework, Playwright from Microsoft, has arrived as a solid competitor to Cypress.
In this article, let's discuss how to read test data from JSON files of different formats.
To refresh a page in Playwright, we can use the page.reload() method, which will reload the current page. This method reloads the current page in the same way as if the user had triggered a browser refresh.
In Playwright, you can verify the current page URL using the toHaveURL method of the PageAssertions Interface.
The Playwright Test framework provides a range of timeouts. These include the Test Timeout, Expect Timeout, Global Timeout, and several low-level timeouts such as actions, navigation, fixtures, and before and after all timeout.