How to setup Selenium with Ruby to write automation tests?

0 votes
How to setup Selenium with Ruby to write automation tests?
Aug 22 in Selenium by Gitanjali
30 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 by Abha
• 27,180 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 in Selenium by Karan
• 160 points
119 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 in Selenium by Anvi
• 13,960 points
336 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 in Selenium by Anvi
• 13,960 points
33 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,110 points
1,010 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,130 points
1,154 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,130 points
894 views
0 votes
1 answer
0 votes
2 answers

How to use Selenium with Python?

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

answered Aug 26 in Selenium by Abha
• 27,180 points
176 views