Sha256: 9c3e7e33a8d7fee6f2108befb04b09fd2538806f238dbc4324cdbd17f6ce743b

Contents?: true

Size: 634 Bytes

Versions: 14

Compression:

Stored size: 634 Bytes

Contents

module Selenium
  module WebDriver
    module Firefox

      # @private
      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

        def stringified?(str)
          str =~ /^".*"$/
        end

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

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
selenium-webdriver-0.1.1 lib/selenium/webdriver/firefox/util.rb
selenium-webdriver-0.1.0 lib/selenium/webdriver/firefox/util.rb
selenium-webdriver-0.0.29 lib/selenium/webdriver/firefox/util.rb
selenium-webdriver-0.0.28 lib/selenium/webdriver/firefox/util.rb
selenium-webdriver-0.0.27 lib/selenium/webdriver/firefox/util.rb
selenium-webdriver-0.0.26 lib/selenium/webdriver/firefox/util.rb
selenium-webdriver-0.0.25 lib/selenium/webdriver/firefox/util.rb
selenium-webdriver-0.0.24 firefox/src/rb/lib/selenium/webdriver/firefox/util.rb
selenium-webdriver-0.0.23 firefox/src/rb/lib/selenium/webdriver/firefox/util.rb
selenium-webdriver-0.0.22 firefox/src/rb/lib/selenium/webdriver/firefox/util.rb
selenium-webdriver-0.0.21 firefox/src/rb/lib/selenium/webdriver/firefox/util.rb
selenium-webdriver-0.0.20 firefox/src/rb/lib/selenium/webdriver/firefox/util.rb
selenium-webdriver-0.0.19 firefox/src/rb/lib/selenium/webdriver/firefox/util.rb
selenium-webdriver-0.0.18 firefox/src/rb/lib/selenium/webdriver/firefox/util.rb