module Selenium::WebDriver::Firefox::Util
@api private
Public Instance Methods
app_data_path()
click to toggle source
# File lib/selenium/webdriver/firefox/util.rb, line 9 def app_data_path case Platform.os when :windows "#{ENV['APPDATA']}\\Mozilla\\Firefox" when :macosx "#{Platform.home}/Library/Application Support/Firefox" when :unix, :linux "#{Platform.home}/.mozilla/firefox" else raise "Unknown os: #{Platform.os}" end end
stringified?(str)
click to toggle source
# File lib/selenium/webdriver/firefox/util.rb, line 22 def stringified?(str) str =~ /^".*"$/ end