No nodes found from the Xpath. It is probably a string match. Search in the document for this :count(//td[@class="offline"]) doesn't match anything in the document