The title says it all, I want to programmatically get the version of Selenium that I installed in my Python environment.
As simple as
>>> import selenium >>> selenium.__version__ '2.37.2'
or for the command line:
$ python -c "import selenium; print(selenium.__version__)" 2.37.2