-
Open a browser
# start an instance of firefox with selenium-webdriver driver = Selenium::WebDriver.for :firefox # :chrome -> chrome # :ie -> iexplore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# Ruby code snippets to determine MacOS versioning with more to come | |
# Inspired by AJ Acevedo's Gist: https://gist.github.com/AJ-Acevedo/5421660 | |
############################################################## | |
# RbConfig to determine host OS and exit if not mac or linux # | |
############################################################## |
NewerOlder