module Capybara::Selenium::Driver::FirefoxDriver
def self.extended(driver)
def self.extended(driver) driver.extend Capybara::Selenium::Driver::W3CFirefoxDriver bridge = driver.send(:bridge) bridge.extend Capybara::Selenium::IsDisplayed unless bridge.send(:commands, :is_element_displayed) end