user2490003
user2490003

Reputation: 11920

How can I determine my version of Selenium from the `selenium-webdriver` gem?

Mozilla has this handy chart indicating which specific versions of geckodriver, selenium, and firefox work well together for automated browser testing.

enter image description here

My version of geckodriver and firefox are easy enough to determine (geckodriver --version and firefox --version).

But how do I find what version of "Selenium" is installed on my Ubuntu installation?

I am using the selenium-webdriver ruby gem that is officially supported by the SeleniumHQ project, so I'm not sure if that supports a way determining the Selenium library version it is using.

Thanks!

Upvotes: 0

Views: 2994

Answers (1)

Tom
Tom

Reputation: 1320

The gem version is going to be the same as the Selenium version. You can see in the CHANGELOG for the Ruby gem that there are periodic updates ala:

  • "* No changes in Ruby bindings for this release"
  • "No Ruby changes in this release."

These are simply there to keep the two versions synced. You can see similar updates in the Python documentation.

Upvotes: 1

Related Questions