assaf / zombie

Insanely fast, full-stack, headless browser testing using node.js
http://zombie.js.org/
MIT License
5.65k stars 518 forks source link

find text on page #973

Open pronebird opened 9 years ago

pronebird commented 9 years ago

Hi,

Is there any way to find a text on page? Something like browser.assert.text but without assertion.

assaf commented 9 years ago

Check out the source code and extract what you need: https://github.com/assaf/zombie/blob/master/src/assert.js#L195