Start a personal dev blog on your domain for free with Hashnode and grow your readership.
Get started with Selenium Ruby in MAC OS
- Which IDE to Choose? As I am completely new to Ruby, initially struggled to set up my environment. So started with repl.com, then moved to VS Code.
Step 1: Install Ruby for VS Code
Step 2: Install Ruby Solargraph
Step 3: Install Code Runner
Now VS Code is ready to execute my first Ruby Script
Step 4: Create a Project Step 5: Create a new file name "exception.rb "
begin
@value= 6/0
puts value
rescue
puts "handle zero division"
end
Shift+Command+P will open Code runner, Click "Run By Language -> ruby "