FAQ / @knapsack-pro/cypress / Knapsack Pro Cypress specific questions

How to pass command line options to Cypress?

You can pass command line options to Cypress by just passing them to @knapsack-pro/cypress. See example:

$(npm bin)/knapsack-pro-cypress --browser chrome

You can pass many of Cypress CLI options to @knapsack-pro/cypress.

IMPORTANT: Only argument listed in Cypress CLI options list work.

If you want to pass options related to Node you should use NODE_OPTIONS environment variable. See example for max_old_space_size.

Start using Knapsack Pro

Sign up and speed up your tests.