Run Selenium on localhost

On the terminal screen change directory to the home directory.

cd ~

 

Add the following command, and press enter to run Selenium

java -jar selenium-server-4.1.2.jar standalone

Keep the running terminal as long you need  selenium to run tests