Welcome to the tenth post in a monthly series that summarises the happenings in the world of Nightwatch and helps you test better.
NEW FEATURES AND RELEASES
NightwatchJS V3
Last month we released NightwatchJS V3. Since then the team have been working on making NightwatchJS even better.
We have released NightwatchJS V3.1.3.
Added Features:
Add support for namespaced aliases.
Move execute and executeAsync to `document` namespace
Move network-related commands to `.network` namespace.
There have also been a number of bug fixes around TypeScript as we move closer and closer to having the whole library to being in TypeScript. NightwatchJS is now being built using TypeScript.
A big shoutout to our 5 new contributors in this release! We greatly appreciate your work.
Element API
We have been updating some of our APIs. You would have seen this in the V3.0.0 release when we added a new Element API. Below is a quick video showing you how to use them if you haven’t been already.
Selenium Manager
The Selenium Project released Selenium Manager that gets bundled with all client bindings. Since Nightwatch has a dependency on Selenium we get all the goodness that goes into that project as well. It’s so good that you can forget about it now and just delete your references to `geckodriver` and `chromedriver` from you `package.json`. Due to how `node_modules` keeps everything cached you might want to delete that and then run `npm i` again to make sure that everything is up to date. It will even deal with the issues that happened with ChromeDriver around Chrome 115.
YouTube
We have been releasing a number of videos on our YouTube Channel. If you haven’t subscribed please do so to get notified when they come out.
We have also put together a video based on Ravi Sawlani’s talk at React Nexus about how JSDOM and using a real browser can give you very different results. We would hate for you to release bugs into production inadvertently.
Finally…
We have done a number of significant updates and releases across the various projects we manage. Make sure you update to the latest versions! We have a number of great features coming over the next month.
Tell us your suggestions on Github or if you want to discuss something with us or have ideas to improve this post, hit us up on Discord. P.s. If you become our 400, 500, 600and so on, member on Discord, we’ll send you a small gift!
Check out more updates in our release notes.