with Nightwatch.js
Acceptance Tests in JavaScript
Run by Nightwatch.js
Which sends instructions to Selenium WebDriver
Which controls browsers!
Nightwatch.js says if that's the state the browser should be in
Selenium WebDriver says what the state of the browser is
Browsers do stuff
Based on your test