KNE uses to many global environment variables making the code hard to reason about. A possible alternative may be to gather all settings that are required by the Nightwatch runner into a kneSettings export and require that in nightwatch.conf.js to apply directly to the settings. For example:
KNE uses to many global environment variables making the code hard to reason about. A possible alternative may be to gather all settings that are required by the Nightwatch runner into a kneSettings export and require that in nightwatch.conf.js to apply directly to the settings. For example:
Then in nightwatch.conf.js: