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