Python Forum

Full Version: How to identify chromedriver version?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am not looking for selenium version. I am looking to find out what version of chromedriver i am using. For example: when you download chromedriver from a selected version, its actual name is just chromedriver. If you forgot which version that is, is there a way to determine that programmatically in selenium when it loads that chromedriver?

The methods i keep coming up with are just selenium versions such as
>>> selenium.__version__
'3.4.3'
Not sure on Linux as driver it only executed trough selenium,if you have Windows can run the driver(also Linux version) from command line then it show version.
C:\Users\Tom\Downloads\chromedriver_linux64
λ chromedriver
Starting ChromeDriver 2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a) on port 9515
Only local connections are allowed.
Ok i didnt know you could directly execute the driver to get the version. Nice to know, thanks.

$ /home/metulburr/chromedriver
Starting ChromeDriver 2.33.506092 (733a02544d189eeb751fe0d7ddca79a0ee28cce4) on port 9515
Only local connections are allowed.
^C