Running tests across multiple browsers in playwright

To do what you want, you can do the folllowing:

in codecept.conf.js add this node after ‘helpers’:

multiple: {
  localcombo: {    
    browsers: [
      { browser: 'firefox'},
      { browser: 'webkit'},
      { browser: 'chromium'}
    ]
  }
},

NOTE: ‘localcombo’ is just an example grouping name.
– it could be any grouping name

then at command line run:

npx codeceptjs run-multiple <grouping name e.g. localcombo> --steps

Hope that gets you what you’re looking for.

1 Like