class Capybara::Driver::Base

def frame_title

def frame_title
  find_xpath('/html/head/title').map(&:all_text).first.to_s
end