Official Nightwatch plugin for integration with the BrowserStack.
npm i @nightwatch/browserstack --save-dev
Update your Nightwatch configuration and add the plugin to the list:
module.exports = {
plugins: ['@nightwatch/browserstack'],
// browserstack plugin settings...
'@nightwatch/browserstack': {
browserstackLocal: true, // set true to manage browserstack local tunnel. Defaults to false.
browserstackLocalOptions: {
// other browserstack local options
},
test_observability: {
enabled: true, // set true for enabling browserstack test observability
user: '${BROWSERSTACK_USERNAME}',
key: '${BROWSERSTACK_ACCESS_KEY}',
projectName: "BrowserStack Samples",
buildName: "browserstack build"
}
},
// other nightwatch settings...
}
MIT