require 'selenium-webdriver' require 'testnow/chrome' require 'testnow/opera' require 'testnow/firefox' require 'testnow/android' require 'testnow/android_chrome' require 'testnow/internet_explorer' module TestNow def init ENV['BROWSER'] = "firefox" if ENV['BROWSER'].nil? case ENV['BROWSER'].downcase when "chrome" TestNow.launch_driver_chrome when "android" TestNow.launch_driver_android when "opera" TestNow.launch_driver_opera when "androidchrome" TestNow.launch_driver_android_chrome when "ie" TestNow.launch_driver_ie else TestNow.launch_driver_firefox end end end