qunit-selenium command not found

In this troubleshooting guide we learn how to fix qunit-selenium command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

qunit-selenium: command not found

or when using sudo you get the following error message

sudo: qunit-selenium: command not found

Solutions to qunit-selenium: command not found

How To Fix qunit-selenium: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu qunit-selenium is provided by qunit-selenium package.

qunit-selenium is:

This package provides a wrapper around the selenium-webdriver with the additional logic to parse the QUnit test results page and report the success/failure of QUnit tests.

This package contains command line tool for executing QUnit tests. It will use the Selenium Chromium WebDriver instantiated with a new Chromium profile.

To fix this problem, we can install more using the command below.

sudo apt-get -y install qunit-selenium

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install qunit-selenium.

sudo apt -y install qunit-selenium

Or if you have aptitude installed you can use the following command.

sudo aptitude install qunit-selenium

Summary

In this tutorial we learn how to fix qunit-selenium command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.