How to setup Selenium with Ruby to write automation tests?

0 votes
How to setup Selenium with Ruby to write automation tests?
Aug 22, 2019 in Selenium by Gitanjali
75 views

1 answer to this question.

0 votes

Hey Gitanjali, to setup Selenium with Ruby you first need to install Ruby on your system. Now if you are using Windows, you can simply use the RubyInstaller PackageFor MacOS, use Homebrew Package Manager to install Ruby using following command:

brew install ruby

Now to install Selenium Webdriver, use following command:

gem install selenium-webdriver

You can also install unit-test package to write unit-tests:

gem install test-unit
answered Oct 10, 2019 by Abha
• 27,920 points

Related Questions In Selenium

0 votes
1 answer
0 votes
1 answer

How to configure Selenium Grid with complete Hub and Node setup?

Yes it is possible to configure Selenium ...READ MORE

answered Jul 26, 2019 in Selenium by Karan
• 160 points
469 views
0 votes
1 answer

How to setup Chrome driver with Selenium on MacOS?

Hey Nushrat, setting up Chrome driver with ...READ MORE

answered Jul 18, 2019 in Selenium by Anvi
• 14,050 points
5,314 views
0 votes
1 answer

How to take Screenshot of a webpage in Selenium with Ruby

Hi Sunita, you can use following code ...READ MORE

answered Aug 26, 2019 in Selenium by Anvi
• 14,050 points
179 views
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,510 points
2,614 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,870 points
2,058 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,870 points
2,171 views
0 votes
1 answer

How can I perform mouse hover to a web element with ruby and selenium webdriver?

Hi Siddhart, checkout the following script to ...READ MORE

answered Aug 26, 2019 in Selenium by Abha
• 27,920 points
407 views
0 votes
2 answers

How to use Selenium with Python?

Hey Shubham, you can checkout this thread ...READ MORE

answered Aug 26, 2019 in Selenium by Abha
• 27,920 points
240 views