module WebDriverScriptAdapter::Defaults
Public Instance Methods
async_results_identifier()
click to toggle source
# File lib/webdriver_script_adapter/execute_async_script_adapter.rb, line 18 def async_results_identifier -> { ::SecureRandom.uuid } end
max_wait_time()
click to toggle source
# File lib/webdriver_script_adapter/execute_async_script_adapter.rb, line 22 def max_wait_time if defined? ::Capybara if ::Capybara.respond_to? :default_max_wait_time ::Capybara.default_max_wait_time else ::Capybara.default_wait_time end elsif defined? ::Selenium::WebDriver::Wait::DEFAULT_TIMEOUT ::Selenium::WebDriver::Wait::DEFAULT_TIMEOUT else 3 end end
wait_interval()
click to toggle source
# File lib/webdriver_script_adapter/execute_async_script_adapter.rb, line 36 def wait_interval if defined? ::Selenium::WebDriver::Wait::DEFAULT_INTERVAL ::Selenium::WebDriver::Wait::DEFAULT_INTERVAL else 0.1 end end