# File lib/capybara/poltergeist/node.rb, line 33
    def text
      command(:text).strip.gsub(/\s+/, ' ')
    end