Test selector's existence if value is missing
Extract HTML rather than text