module Capybara::Lockstep::SynchronizeWithCatchUp
Public Instance Methods
synchronize(*args, &block)
click to toggle source
Calls superclass method
# File lib/capybara-lockstep/capybara_ext.rb, line 144 def synchronize(*args, &block) # This method is called by Capybara before most interactions with # the browser. It is a different method than Capybara::Lockstep.synchronize! # We use the { lazy } option to only synchronize when we're out of sync. Capybara::Lockstep.auto_synchronize(lazy: true) super(*args, &block) end