Agouti can find text scoped to selectors in a real page + major refactorings