class SeleniumLauncher::ConfigChecker

Constants

ERRORS

Public Class Methods

new() click to toggle source
# File lib/selenium-launcher.rb, line 12
def initialize
  browser_check
  grid_check
end

Private Instance Methods

browser_check() click to toggle source
# File lib/selenium-launcher.rb, line 22
def browser_check
  if ENV['SE_BROWSER'].nil?
    raise ERRORS[:NoBrowserSpecified]
  end
end
grid_check() click to toggle source
# File lib/selenium-launcher.rb, line 28
def grid_check
  if ENV['SE_HOST'] == 'remote'
    if ENV['SE_HOST_URL'].nil?
      raise ERRORS[:NoGridURLSpecified]
    end
  end
end