WPEWebDriver command not found

In this troubleshooting guide we learn how to fix WPEWebDriver command not found error message

Introduction

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

WPEWebDriver: command not found

or when using sudo you get the following error message

sudo: WPEWebDriver: command not found

Solutions to WPEWebDriver: command not found

How To Fix WPEWebDriver: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu WPEWebDriver is provided by wpewebkit-driver package.

wpewebkit-driver is:

WebKit is a modern web engine that is able to display content such as HTML, SVG, XML, and others. It also supports DOM, XMLHttpRequest, XSLT, CSS, JavaScript/ECMAScript and more.

WPE WebKit is a WebKit port optimized for embedded devices and, unlike the GTK port, it does not depend on any particular UI toolkit and can be adapted to different use cases. It is designed with hardware acceleration in mind, leveraging common 3D graphics APIs for best performance.

This package provides the WebDriver service implementation.

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

sudo apt-get -y install wpewebkit-driver

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

You can also use apt command to install wpewebkit-driver.

sudo apt -y install wpewebkit-driver

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

sudo aptitude install wpewebkit-driver

Summary

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