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/record_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
- DOMAIN =
ENV.fetch('SUPERBOT_DOMAIN', 'superbot.cloud')
- URI_SCHEME =
ENV.fetch('SUPERBOT_URI_SCHEME', 'https')
- VERSION =
"0.1.20"
Class Method Summary
collapse
Class Method Details
.cloud_timeout ⇒ Object
31
32
33
|
# File 'lib/superbot.rb', line 31
def self.cloud_timeout
CLOUD_TIMEOUT
end
|
.screenshots_url(type, session_id) ⇒ Object
35
36
37
|
# File 'lib/superbot.rb', line 35
def self.screenshots_url(type, session_id)
"#{SCREENSHOTS_ENDPOINT[type.to_sym]}/#{session_id}"
end
|
.test_run? ⇒ Boolean
23
24
25
|
# File 'lib/superbot.rb', line 23
def self.test_run?
ENV["SUPERBOT_TEST_RUN"] == "true"
end
|
.webdriver_endpoint(type) ⇒ Object
27
28
29
|
# File 'lib/superbot.rb', line 27
def self.webdriver_endpoint(type)
WEBDRIVER_ENDPOINT[type.to_sym]
end
|