This can be shortened to 

    all('.result').map(&:text)