Module: Capybara::Selenium::IsDisplayed

Defined in:
lib/capybara/selenium/patches/is_displayed.rb

Instance Method Summary collapse

Instance Method Details

#commands(command) ⇒ Object



6
7
8
9
10
11
12
13
# File 'lib/capybara/selenium/patches/is_displayed.rb', line 6

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