cartodb-4.42/lib/cartodb/scripts/server_load.rb

18 lines
274 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
require 'capybara'
require 'capybara/dsl'
class ServerLoadScript
include Capybara::DSL
def initialize
Capybara.default_driver = :selenium
Capybara.app_host = 'https://staging20.carto.com'
Capybara.run_server = false
visit '/'
end
end