npm install github:SeleniumHQ/selenium which lead to the message
npm ERR! Can't install github:SeleniumHQ/selenium#8d1cc166c29333d0d5e4dbe55f850b0d540a5302: Missing package name.
It seems to be caused by the fact, that selenium-webdriver is a monolithic repository and npm install is unable to install code from a subdirectory of a git repository. (Source: "missing package name" error when installing from GitHub)
What is the correct way to install
selenium-webdriver from the git repository master branch https://github.com/SeleniumHQ/selenium?
I know that I might use
git clone manually and do some copy-paste stuff, but I hope there is a better way.