Integrated end-to-end testing framework written in Node.js and using W3C Webdriver API. Developed at @browserstack
MIT License
Bot releases are hidden (Show)
Published by beatfactor over 6 years ago
optimist
module missingPublished by beatfactor over 6 years ago
Published by beatfactor over 6 years ago
A significant update from previous 0.x versions featuring a complete rewrite of the entire codebase and also including some new features. The main focus has been on improving the underlying architecture, therefore this release includes mostly fixes and improvements, but also a few brand new features. Please see the upgrade guide for details on breaking changes and how to migrate from v0.9.
webdriver
configuration settings may be used to control this behaviour, e.g.:"webdriver" : {
"start_process": true,
"server_path": "./path/to/chromedriver"
}
For a complete list of available config settings (until the docs get updated on the website), refer to the default settings.
It's important to note that, while the Selenium Server was required with older Nightwatch versions (v0.9 and prior) and continues to work with v1.0, starting with version 1.0 Selenium is completely optional and only required in a Selenium Grid environment.
For cases when Mocha is used as a test runner, a new adapter has been introduced in place of the mocha-nightwatch
package. This is however in experimental stages.
There has been some demand for a proper programatic API, through which Nightwatch may be used without a configuration file. Nightwatch exports now a new runTests()
public method which may be used for such purposes.
The settings object inherits from the default settings mentioned above.
const Nightwatch = require('nightwatch');
Nightwatch.runTests('/path/to/tests_folder', {
// various settings
}).then(function() {
// Tests finished
}).catch(function(err) {
// An error occurred
});
The programatic API is being used extensively in the unit/integration tests, e.g. in test/src/runner/testRunTestsuite.js
filter
and exclude
properties.This release also paves the way for our own upcoming, Nightwatch dedicated, cloud testing service - NightCloud.io.
--no-sandbox
cli argument to ChromeDriver, like so:"desiredCapabilities" : {
"browserName" : "chrome",
"chromeOptions": {
"args" : ["--no-sandbox"]
}
}
Published by beatfactor almost 7 years ago
Published by beatfactor almost 7 years ago
#1604 - Fixes compatibility issues with latest Selenium Server
Published by beatfactor over 7 years ago
Published by beatfactor over 7 years ago
.only()
to stop workingPublished by beatfactor over 7 years ago
mocha-nightwatch
to version 3.2.1Published by beatfactor over 7 years ago
classname
attribute to junit report, based on #1160Published by beatfactor almost 8 years ago
Published by beatfactor almost 8 years ago
request_timeout_options
for configuring when should a request to the Selenium server reach a timeout and optionally define the number of retries for a timed out request. More info
Published by beatfactor almost 8 years ago
Published by beatfactor about 8 years ago
src_folders
(#1069)isLogAvailable
command in Microsoft EdgePublished by beatfactor about 8 years ago
Published by beatfactor about 8 years ago
Published by beatfactor over 8 years ago
default_path_prefix
to overwrite selenium's default /wd/hub base urlPublished by beatfactor over 8 years ago
Published by beatfactor over 8 years ago
Published by beatfactor over 8 years ago
Published by beatfactor over 8 years ago