docs/plugins/browser.md
Overrides browser helper config from the command line. Works for all browser helpers
(Playwright, Puppeteer, WebDriver, Appium) without touching codecept.conf.
Enable it via -p option with one or more colon-chained args:
npx codeceptjs run -p browser:show
npx codeceptjs run -p browser:hide
npx codeceptjs run -p browser:browser=firefox
npx codeceptjs run -p browser:windowSize=1024x768:video=false
npx codeceptjs run -p browser:hide:browser=webkit:windowSize=800x600
--headless into WebDriver chrome/firefox capability args)<key>=<value> — set helpers.<eachBrowserHelper>.<key> = <value>. Three keys
get per-helper translation via setBrowserConfig:
browser=<name> — Puppeteer receives product, Playwright receives browserwindowSize=WxH — also adds --window-size=W,H chromium/chrome argsshow=true|false — toggles show on Playwright/Puppeteer; injects/strips
--headless in WebDriver chrome/firefox capability argsValues stay as strings. true / false are coerced to booleans.
Requires @codeceptjs/configure to be installed; if missing, the plugin
logs a hint and skips the override.
config