Sha256: a1d5469d1d3c1d927814a95e1935aba29b8bf042dda2241b9219dad1d2f21ff2

Contents?: true

Size: 198 Bytes

Versions: 76

Compression:

Stored size: 198 Bytes

Contents

# frozen_string_literal: true

module PauseDurationFix
  def encode
    super.tap { |output| output[:duration] ||= 0 }
  end
end

::Selenium::WebDriver::Interactions::Pause.prepend PauseDurationFix

Version data entries

76 entries across 63 versions & 4 rubygems

Version Path
capybara-3.31.0 lib/capybara/selenium/patches/pause_duration_fix.rb
capybara-3.30.0 lib/capybara/selenium/patches/pause_duration_fix.rb
tdiary-5.1.0 vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/patches/pause_duration_fix.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/capybara-3.29.0/lib/capybara/selenium/patches/pause_duration_fix.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/capybara-3.29.0/lib/capybara/selenium/patches/pause_duration_fix.rb
capybara-3.29.0 lib/capybara/selenium/patches/pause_duration_fix.rb
capybara-3.28.0 lib/capybara/selenium/patches/pause_duration_fix.rb
capybara-3.27.0 lib/capybara/selenium/patches/pause_duration_fix.rb
capybara-3.26.0 lib/capybara/selenium/patches/pause_duration_fix.rb
capybara-3.25.0 lib/capybara/selenium/patches/pause_duration_fix.rb
capybara-3.24.0 lib/capybara/selenium/patches/pause_duration_fix.rb
capybara-3.23.0 lib/capybara/selenium/patches/pause_duration_fix.rb
capybara-3.22.0 lib/capybara/selenium/patches/pause_duration_fix.rb
capybara-3.21.0 lib/capybara/selenium/patches/pause_duration_fix.rb
capybara-3.20.2 lib/capybara/selenium/patches/pause_duration_fix.rb
capybara-3.20.1 lib/capybara/selenium/patches/pause_duration_fix.rb
capybara-3.20.0 lib/capybara/selenium/patches/pause_duration_fix.rb
capybara-3.19.1 lib/capybara/selenium/patches/pause_duration_fix.rb
capybara-3.19.0 lib/capybara/selenium/patches/pause_duration_fix.rb
capybara-3.18.0 lib/capybara/selenium/patches/pause_duration_fix.rb