module Selenium::WebDriver::Firefox::Util
def app_data_path
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
def stringified?(str)
def stringified?(str) str =~ /^".*"$/ end