Class: Geordi::FirefoxForSelenium::Installer

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

Instance Method Summary collapse

Methods included from Interaction

#announce, #fail, #note, #note_cmd, #prompt, #strip_heredoc, #success, #warn

Constructor Details

#initialize(version) ⇒ Installer

Returns a new instance of Installer.



57
58
59
# File 'lib/geordi/firefox_for_selenium.rb', line 57

def initialize(version)
  @version = version
end

Instance Method Details

#runObject



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

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