Sha256: 284ef02646be1ff415522dc1b17be9122a186cf836ea96a462214cf5f6a423b3

Contents?: true

Size: 365 Bytes

Versions: 1

Compression:

Stored size: 365 Bytes

Contents

require 'selenium/webdriver/support/abstract_event_listener'

class RedGlassListener < Selenium::WebDriver::Support::AbstractEventListener
  attr_accessor :red_glass

  def after_navigate_back(driver)
    @red_glass.reload
  end

  def after_navigate_forward(driver)
    @red_glass.reload
  end

  def after_navigate_to(url, driver)
    @red_glass.reload
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
red-glass-0.0.6 lib/red-glass/red_glass_listener.rb