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
136 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
658 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 Aug 9 in Selenium by Shipra
10,604 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
296 views
0 votes
2 answers

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,525 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31 in Selenium by Sri
• 2,970 points
4,531 views
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,594 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 2 in Selenium by Sri
• 2,970 points
2,858 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
655 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
279 views