Check text on the correct element