Fixed whitespace in textContent for PhantomJS driver as well