Sha256: b7bcc6a334a95db6d52579abe79d04775252634ff106b852b7f34eea43018f75
Contents?: true
Size: 428 Bytes
Versions: 6
Compression:
Stored size: 428 Bytes
Contents
# frozen_string_literal: true module CapybaraAtoms private def read_atom(function) @atoms ||= Hash.new do |hash, key| hash[key] = begin File.read(File.expand_path("../../atoms/#{key}.min.js", __FILE__)) rescue Errno::ENOENT super end end @atoms[function] end end Selenium::WebDriver::Remote::Bridge.prepend CapybaraAtoms unless ENV['DISABLE_CAPYBARA_SELENIUM_OPTIMIZATIONS']
Version data entries
6 entries across 6 versions & 3 rubygems