Thursday 13 April 2017

How do I run a Selenium Test written in Node.JS via the command line?

I already have Node.js language bindings for Selenium Webdriver, Selenium Server, and Java already installed. I have tests written in Node.JS-Selenium-Webdriver (Exported from Selenium Builder). I've been able to run tests locally and via a third party service (CrossBrowserTesting) through Selenium Builder.

The problem is, Selenium Builder only runs tests in the JSON format and cannot open files that are not in JSON format. I need to run a node.js test file that has CBT's screenshot API's, and i can't run it via Selenium Builder

I'd like to run those tests written in Node.JS via the command line. I've already installed and used WEBDRIVER.IO to run these tests locally and on CBT, but would like a different option.

Help would be appreciated!



via Nicholas Chu

No comments:

Post a Comment