Sha256: d75a8e5105175bf46855e6aa38866e9652af4226ce7aac36387d42516ec9d57c

Contents?: true

Size: 196 Bytes

Versions: 5

Compression:

Stored size: 196 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

5 entries across 5 versions & 2 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/capybara-3.40.0/lib/capybara/selenium/patches/pause_duration_fix.rb
capybara-3.40.0 lib/capybara/selenium/patches/pause_duration_fix.rb
capybara-3.39.2 lib/capybara/selenium/patches/pause_duration_fix.rb
capybara-3.39.1 lib/capybara/selenium/patches/pause_duration_fix.rb
capybara-3.39.0 lib/capybara/selenium/patches/pause_duration_fix.rb