coverY |
---|
0 |
npx synpress run
Or by using yarn
yarn synpress run
or
./node_modules/.bin/synpress run
Or add it to package.json
{
// npm: npm run synpress:run
// yarn: yarn synpress:run
"scripts": {
"synpress:run": "synpress run"
}
}
synpress run [options]
synpress run --browser chrome
Available options are chrome
, chromium
, edge
, electron
, and firefox
.
It works the same way the "browser" option works in Cypress.
synpress run --configFile synpress.config.js
The "configFile" option accepts the path to the Synpress config file (example) that is required to lunch the tests.