unobtainium-multifind
This gem provides a driver module for unobtainium allowing for more easily finding (one of) multiple elements.
To use it, require it after requiring unobtainium, then create the any driver with a Selenium API:
require 'unobtainium'
require 'unobtainium-multifind'
include Unobtainium::World
driver.navigate.to('http://finkhaeuser.de')
elems = driver.multifind({ xpath: '//some-element' },
{ xpath: '//other-element' })
# Entries will be nil if nothing is found by this xpath
puts elems.length # => 2