module Selenium::WebDriver::Firefox::Util
@api private
Public Instance Methods
Source
# File lib/selenium/webdriver/firefox/util.rb, line 27 def app_data_path case Platform.os when :windows "#{ENV.fetch('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
Source
# File lib/selenium/webdriver/firefox/util.rb, line 40 def stringified?(str) str =~ /^".*"$/ end