Sha256: cef75aa9462f11138944bf533110716dcde3601a0ffd07c05fb3bed2551aa569

Contents?: true

Size: 547 Bytes

Versions: 9

Compression:

Stored size: 547 Bytes

Contents

module Selenium
  module WebDriver
    module Firefox
      module Util
        module_function

        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

      end # Util
    end # Firefox
  end # WebDriver
end # Selenium

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
rainux-selenium-webdriver-0.0.17 firefox/src/rb/lib/selenium/webdriver/firefox/util.rb
selenium-webdriver-0.0.17 firefox/src/rb/lib/selenium/webdriver/firefox/util.rb
selenium-webdriver-0.0.16 firefox/src/rb/lib/selenium/webdriver/firefox/util.rb
selenium-webdriver-0.0.15 firefox/src/rb/lib/selenium/webdriver/firefox/util.rb
selenium-webdriver-0.0.14 firefox/src/rb/lib/selenium/webdriver/firefox/util.rb
selenium-webdriver-0.0.13 firefox/src/rb/lib/selenium/webdriver/firefox/util.rb
selenium-webdriver-0.0.12 firefox/src/rb/lib/selenium/webdriver/firefox/util.rb
selenium-webdriver-0.0.11 firefox/src/rb/lib/selenium/webdriver/firefox/util.rb
selenium-webdriver-0.0.10 firefox/src/rb/lib/selenium/webdriver/firefox/util.rb