module Capybara::Selenium::IsDisplayed

def commands(command)

def commands(command)
  case command
  when :is_element_displayed
    [:get, 'session/:session_id/element/:id/displayed']
  else
    super
  end
end