use dumpWindowHierarchy for xml page source as well since it's more reliable