What is Nightwatch API?
The Nightwatch API is a JavaScript (Node. js) programming interface for controlling Nightwatch. js, a browser-based End-to-End (E2E) testing solution. The sophisticated W3C WebDriver API is used by Nightwatch. js to perform commands and assertions on DOM components.
Nightwatch API(Node,and%20assertions%20on%20DOM%20elements.