Test Automation Stack

Cypress always listens to its users and with latest version 10.8.0, Cypress has added experimental feature to support running tests in Safari browser.

In order to run the tests in Safari browser ensure

Latest version 10.8.0 is installed

Add playwright-webkit as dev dependency in your package.json or execute the command npm install — save-dev playwright-webkit

Once the above steps are completed, now open the cypress.config.ts file and set the experimentalWebKitSupport flag to true

And we are set to run our tests in Safari webkit browser

If you open the cypress test runner, you can see the webkit option

Leave a comment

I’m Gurudatt

Profile Pic

With over 12 years of quality assurance experience, i have used various test automation tools and testing concepts and helped organization and teams to speed up testing process effectively. I’m also a Cypress.io Ambassador and BrowserStack Champion.

Let’s connect

Discover more from Test Automation Stack

Subscribe now to keep reading and get access to the full archive.

Continue reading