i use codecept.conf.js
and when i run:
npx codeceptjs run --override '{ "helpers": {"WebDriver": {"browser": "chrome"}}}'
i got this message:
Unexpected token h in JSON at position 2
SyntaxError:
at JSON.parse ()
at module.exports (C:_git\typescriptCodeceptJs\node_modules\codeceptjs\lib\command\run.js:16:33)
at Command. (C:_git\typescriptCodeceptJs\node_modules\codeceptjs\bin\codecept.js:9:11)
at Command.listener (C:_git\typescriptCodeceptJs\node_modules\commander\index.js:315:8)
at Command.emit (node:events:527:28)
at Command.parseArgs (C:_git\typescriptCodeceptJs\node_modules\commander\index.js:651:12)
at Command.parse (C:_git\typescriptCodeceptJs\node_modules\commander\index.js:474:21)
at Object. (C:_git\typescriptCodeceptJs\node_modules\codeceptjs\bin\codecept.js:203:9)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)