Class: Superbot::CLI::Cloud::RunCommand

Inherits:
Clamp::Command
  • Object
show all
Includes:
Validations
Defined in:
lib/superbot/cloud/cli/cloud/run_command.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



19
20
21
22
23
24
25
26
27
28
# File 'lib/superbot/cloud/cli/cloud/run_command.rb', line 19

def execute
  register_remote_webdriver
  open_screenshots_stream
  run_test

  puts 'Press ENTER to exit.'
  $stdin.gets

  close_screenshot_stream
end