Method: Capybara::Node::Finders#find_link
- Defined in:
- lib/capybara/node/finders.rb
#find_link([locator], **options) ⇒ Capybara::Node::Element
Find a link on the page. The link can be found by its id or text.
157 158 159 |
# File 'lib/capybara/node/finders.rb', line 157 def find_link(locator = nil, **, &optional_filter_block) find(:link, locator, **, &optional_filter_block) end |