Module: Superbot

Defined in:
lib/superbot.rb,
lib/superbot/cli.rb,
lib/superbot/web.rb,
lib/superbot/project.rb,
lib/superbot/version.rb,
lib/superbot/capybara/runner.rb,
lib/superbot/cli/new_command.rb,
lib/superbot/cli/run_command.rb,
lib/superbot/cli/validations.rb,
lib/superbot/capybara/convert.rb,
lib/superbot/cli/root_command.rb,
lib/superbot/cli/version_command.rb,
lib/superbot/cli/teleport_command.rb

Defined Under Namespace

Modules: CLI, Capybara, Validations Classes: Project, Web

Constant Summary collapse

VERSION =
"0.1.6"

Class Method Summary collapse

Class Method Details

.cloud_timeoutObject



28
29
30
# File 'lib/superbot.rb', line 28

def self.cloud_timeout
  CLOUD_TIMEOUT
end

.screenshots_url(type, session_id) ⇒ Object



32
33
34
# File 'lib/superbot.rb', line 32

def self.screenshots_url(type, session_id)
  "#{SCREENSHOTS_ENDPOINT[type.to_sym]}/#{session_id}"
end

.test_run?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/superbot.rb', line 20

def self.test_run?
  ENV["SUPERBOT_TEST_RUN"] == "true"
end

.webdriver_endpoint(type) ⇒ Object



24
25
26
# File 'lib/superbot.rb', line 24

def self.webdriver_endpoint(type)
  WEBDRIVER_ENDPOINT[type.to_sym]
end