Blog Lists with Sidebar

Read More

Playwright vs Cypress

The newest addition to Automation Framework, Playwright from Microsoft, has arrived as a solid competitor to Cypress. The Playwright did initial release in 2020; it has come up with many features and overcome almost all tradeoffs that Cypress had. Let’s compare Playwright and Cypress to understand when to use what.

Playwright Reload Page
Read More

Playwright Reload Page

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.

Table of Contents

  1. Syntax
  2. Example
  3. Video Tutorial

Syntax

await page.reload();
await page.reload(options);

Arguments