wonderfully unique software solutions

BrowserStack hails Nightwatch v2 cross-browser integration

BrowserStack has added Nightwatch v2 to its family, delivering better cross-browser integration, more reliable document object model (DOM) element handling and faster tests.

According to Andrei Rusu, writing for BrowserStack, the foundational Nightwatch architecture has been completely redesigned with the second version, and now uses the official Selenium Webdriver bindings for Node.js.

“Nightwatch was published at the beginning of 2014 and was created as a complete and integrated framework that would enable engineers to write end-to-end tests quickly and require as little configuration and maintenance as possible,” Rusu says.

Nightwatch will continue development as an autonomous open-source project, with a view to improving the framework’s overall experience for developers and administrators, the vendor says.

Key features and improvements aim to make Nightwatch more powerful, including the ability to automate complex gestures reliably with the new user actions API command, and more retries of failed element commands.

Additionally, the new Selenium 4 relative locators are available by default in Nightwatch. It also improves upon the existing locators via the Selenium By() API, according to the vendor, and has built-in support for working with file uploads.

“Uploading files with Nightwatch could be cumbersome previously, but v2 has a built-in command which works with the FileDetector API,” explains Rusu.

The litany of enhancements continues with support for extended Capabilities objects, setting network conditions in Chrome, support for working with Devtools Protocol, as well as various new command APIs and test runner improvements.

Nightwatch v2 is also ready for the new BiDirectional WebDriver Protocol, a recent development in the Selenium project allowing users to get console or Javascript error messages from the browser.

( Image by Jan Vašek from Pixabay )

Recent Articles

Responsibility shifts towards vendors with US National Cybersecurity Strategy

The US government has called for aggressive regulation as part of its National Cybersecurity Strategy for 2023, ITops company Automox has warned.

Four critical challenges for cybersecurity provision in 2023

Skill sets, AI, co-operation, and climate have become the critical challenges for cybersecurity provision this year, according to Europe-based IT/OT security software...

Snow adds certifications to partner programme to drive Atlas sales

Technology intelligence software platform Snow Atlas has achieved ISO 27001 certification and completed the Service Organisation Control (SOC) 2 Type 1 examination...

Arista says edge threat defences could have safeguarded Tallahassee health

Tallahassee Memorial Health might not have been disrupted in February, requiring systems downtime and patient inconvenience, had it deployed strong edge threat...

OpenText Cloud Editions aim for accelerated AI and digital transformations

Information software company OpenText has whipped the covers off its Cloud Editions (CE) 23.1, which it says will support AI adoption and...

Related Stories

Leave A Reply

Please enter your comment!
Please enter your name here

Weirdware monthly - Get the latest news in your inbox