# File lib/selenium/webdriver/safari.rb, line 14 def path @path ||= ( path = case Platform.os when :windows Platform.find_in_program_files("Safari\\Safari.exe") when :macosx "/Applications/Safari.app/Contents/MacOS/Safari" else Platform.find_binary("Safari") end unless File.file?(path) && File.executable?(path) raise Error::WebDriverError, "unable to find the Safari executable, please set Selenium::WebDriver::Safari.path= or add it to your PATH." end path ) end
Generated with the Darkfish Rdoc Generator 2.