private static void DumpElement(AutomationElement accessible, int indent)
 {
     Console.Write(new string(' ', indent) + "* ");
       Console.Write(accessible.GetName() ?? "<null name>");
       Console.Write('\t');
       Console.Write(accessible.GetClassName());
       Console.Write('\t');
       Console.Write(accessible.GetValueAsString() ?? "<null value>");
       //Console.Write('\t');
       //Console.Write(accessible.GetStateSafe() ?? "<null state>");
       //Console.Write('\t');
       //Console.Write(accessible.GetDescriptionSafe() ?? "<null description>");
       Console.WriteLine();
 }