Sha256: 4c0d4ebc393c0452e305e44a02651ec10f5da65f423c7a8322933306dac141f4

Contents?: true

Size: 500 Bytes

Versions: 4

Compression:

Stored size: 500 Bytes

Contents

desc 'with-firefox-for-selenium COMMAND', 'Run a command with firefox for selenium set up'
long_desc <<-LONGDESC
Example: `geordi with-firefox-for-selenium b cucumber`

Useful when you need Firefox for Selenium, but can't use the `geordi cucumber`
command.
LONGDESC

def with_firefox_for_selenium(*command)
  note 'Setting up Firefox for Selenium ...'
  require 'geordi/cucumber'
  Cucumber.new.setup_vnc
  FirefoxForSelenium.setup_firefox
  puts

  note_cmd command.join
  Util.system! *command
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
geordi-1.0.3 lib/geordi/commands/with_firefox_for_selenium.rb
geordi-1.0.2 lib/geordi/commands/with_firefox_for_selenium.rb
geordi-1.0.1 lib/geordi/commands/with_firefox_for_selenium.rb
geordi-1.0.0 lib/geordi/commands/with_firefox_for_selenium.rb