How to install Selenium WebDriver in Ruby?

How to install Selenium WebDriver in Ruby?

Hey Dipen,

There are two ways to install Selenium WebDriver in Ruby?

  • Using the Gemfile

    gem 'selenium-webdriver', '>= 3.142.7'

    Then run the bundle install on your terminal.

  • Installing via Gem

    gem install selenium-webdriver

You can deep-dive into Getting Started With Automation Testing Using Selenium Ruby:

1 Like