class Selenium::WebDriver::Support::RelativeLocator
def initialize(locator)
def initialize(locator) @filters, @root = locator.partition { |how, _| KEYS.include?(how) }.map(&:to_h) end
def initialize(locator) @filters, @root = locator.partition { |how, _| KEYS.include?(how) }.map(&:to_h) end