module Capybara
def add_selector(name, &block)
- Yield: - A block executed in the context of the new {Capybara::Selector}
Parameters:
-
name
(Symbol
) -- The name of the selector to add
def add_selector(name, &block) Capybara::Selector.add(name, &block) end