- Defined in:
#find(*args, **options, &optional_filter_block) ⇒
Find anbased on the given arguments. will raise an error if the element is not found.
page.find('#foo').find('.bar') page.find(:xpath, './/div[contains(., "bar")]') page.find('li', text: 'Quox').('Delete')
50 51 52 53
# File 'lib/capybara/node/finders.rb', line 50 def find(*args, **, &optional_filter_block) [:session_options] = synced_resolve ::::.(*args, **, &optional_filter_block) end