Module: Capybara::RSpecMatchers::Matchers::Compound::Synchronizer Private
Do not use. This module is for internal use only.
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Defined in: | lib/capybara/rspec/matchers/compound.rb |
Instance Method Summary
- #match(_expected, actual) Internal use only
- #sync_element(el) Internal use only
Instance Method Details
#match(_expected, actual)
[ GitHub ]# File 'lib/capybara/rspec/matchers/compound.rb', line 39
def match(_expected, actual) @evaluator = CapybaraEvaluator.new(actual) syncer = sync_element(actual) begin syncer.synchronize do @evaluator.reset raise ::Capybara::ElementNotFound unless synchronized_match? true end rescue StandardError false end end