lib/testnow.rb in testnow-0.0.5 vs lib/testnow.rb in testnow-0.0.6
- old
+ new
@@ -1,24 +1,27 @@
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"
- launch_driver_android
+ TestNow.launch_driver_android
when "opera"
TestNow.launch_driver_opera
when "androidchrome"
- launch_driver_android_chrome
+ TestNow.launch_driver_android_chrome
when "ie"
- launch_driver_ie
+ TestNow.launch_driver_ie
else
TestNow.launch_driver_firefox
end
end
\ No newline at end of file