Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Running all tests from Selenium ruby example

Follow these steps to run all test example from selenium ruby

  1. Clone this repository
git clone https://github.com/SeleniumHQ/seleniumhq.github.io.git
  1. Navigate to ruby directory
cd seleniumhq.github.io/examples/ruby
  1. Install dependencies using bundler
bundler install
  1. Run all tests
bundle exec rspec

Please keep some patience - If you are doing it for the first time, it will take a little while to verify and download the browser drivers

Execute a ruby script

Use this command to run a ruby script and follow the first script example

ruby example_script.rb