
Using Chrome running in a Docker container "profile.password_manager_enabled" : false The following code snippet shows how to set the preferences if you want to disable the browser's password manager feature in the nightwatch.json file:

You can refer to this list of command line switches that you can pass as args to the chromeOptions key under your desiredCapabilities key in your nightwatch.json file as follows:Īpart from the command line switches that you set using the args key, you can also pass the Chrome profile preferences using the prefs key. Nightwatch supports all arguments and capabilities that ChromeDriver provides.Ĭheck out the official ChromeDriver documentation to learn more about these capabilities. Each item in the list should be a base-64 encoded packed Chrome extension (.crx) e.g., '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome')Ī list of Chrome extensions to install on startup. Path to the Chrome executable to use (on Mac OS X, this should be the actual binary, not just the app. Arguments with an associated value should be separated by a '=' sign (e.g., ).

List of command-line arguments to use when starting Chrome.
