<% if library == 'true' -%>$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '../../', 'lib')) <% end -%><% if driver.downcase == 'symbiont' %>require 'symbiont' require 'symbiont/factory' <% if library == 'true' -%> require 'require_all' begin require_all 'lib' rescue LoadError end <% end -%> module Symbiont module Browser def self.start unless @browser @browser = Watir::Browser.new(ENV['BROWSER']) end @browser end def self.stop @browser.quit if @browser @browser = false end end # module: Browser end # module: Symbiont World(Symbiont::Factory)<% end -%>