Class: Geordi::FirefoxForSelenium::Installer

Inherits:
Object
  • Object
show all
Defined in:
lib/geordi/firefox_for_selenium.rb

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ Installer

Returns a new instance of Installer.



55
56
57
# File 'lib/geordi/firefox_for_selenium.rb', line 55

def initialize(version)
  @version = version
end

Instance Method Details

#runObject



59
60
61
62
63
64
65
66
67
# File 'lib/geordi/firefox_for_selenium.rb', line 59

def run
  say_hello
  check_if_run_before
  download_firefox
  create_separate_profile # do this before the patching because the patched binary calls firefox with a profile that does not yet exist
  patch_old_firefox
  configure_old_firefox
  kkthxbb
end