Sha256: 5f9aee2c1f632bb5148246cb347a0468af6a9f4bf7b99c797ee0fd1604a43ece

Contents?: true

Size: 352 Bytes

Versions: 19

Compression:

Stored size: 352 Bytes

Contents

require 'selenium-webdriver'
require 'capybara/cucumber'

#Monkey Patch's - Use with care!
#
class Capybara::Driver::Selenium::Node
  def style(prop)
    native.style(prop)
  end
end

class Capybara::Node::Element
  def style(prop)
    base.style(prop)
  end
end

class Capybara::Driver::Node
  def style(prop)
    raise NotImplementedError
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
frameworks-capybara-0.0.37 lib/monkey-patches/capybara-patches.rb
frameworks-capybara-0.0.36 lib/monkey-patches/capybara-patches.rb
frameworks-capybara-0.0.35 lib/monkey-patches/capybara-patches.rb
frameworks-capybara-0.0.34 lib/monkey-patches/capybara-patches.rb
frameworks-capybara-0.0.33 lib/monkey-patches/capybara-patches.rb
frameworks-capybara-0.0.32 lib/monkey-patches/capybara-patches.rb
frameworks-capybara-0.0.31 lib/monkey-patches/capybara-patches.rb
frameworks-capybara-0.0.30 lib/monkey-patches/capybara-patches.rb
frameworks-capybara-0.0.29 lib/monkey-patches/capybara-patches.rb
frameworks-capybara-0.0.28 lib/monkey-patches/capybara-patches.rb
frameworks-capybara-0.0.27 lib/monkey-patches/capybara-patches.rb
frameworks-capybara-0.0.25 lib/monkey-patches/capybara-patches.rb
frameworks-capybara-0.0.24 lib/monkey-patches/capybara-patches.rb
frameworks-capybara-0.0.23 lib/monkey-patches/capybara-patches.rb
frameworks-capybara-0.0.22 lib/monkey-patches/capybara-patches.rb
frameworks-capybara-0.0.20 lib/monkey-patches/capybara-patches.rb
frameworks-capybara-0.0.19 lib/monkey-patches/capybara-patches.rb
frameworks-capybara-0.0.18 lib/monkey-patches/capybara-patches.rb
frameworks-capybara-0.0.17 lib/monkey-patches/capybara-patches.rb