mercredi 29 juin 2016

When running Nightwatch.js test how can I get the name of browser currently running the tests?

Situation: We are running tests in several browsers using Nightwatch
(via Saucelabs; everything runs fine on Saucelabs).

Desired: we want to know which browser the test is currently running in so we can save screenshots including the browser name.

Is it possible to determine which browser is running the tests?

Aucun commentaire:

Enregistrer un commentaire