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
105 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,930 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
565 views
0 votes
2 answers

How to setup Chrome driver with Selenium on MacOS?

Hi Nushrat, In MacOs follow the steps and ...READ MORE

answered 2 days ago in Selenium by Shipra
8,198 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,090 points
244 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
3,158 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,890 points
2,373 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,890 points
2,525 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,930 points
548 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,930 points
262 views