Sha256: f798e3f38e603d65338ae0820c1ac05f74f3622c657660c6ab868165bf950d85
Contents?: true
Size: 478 Bytes
Versions: 22
Compression:
Stored size: 478 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
22 entries across 19 versions & 3 rubygems