         } else if self.label.characters.count > 0 {
             return self.label
         } else {
-            return nil
+            return ""
         }
     }
     
     func wdName() -> String? {
         let name = (firstNonEmptyValue(self.identifier, self.label))
         if name?.characters.count == 0 {
-            return nil
+            return ""
         } else {
             return name
         }

        return value
    }
    

    func wdLabel() -> String {
        if self.elementType == XCUIElementType.textField {
            return self.label

    
    func digest(windowName : String) -> String {
        let description = "\(windowName)_\(self.buttons.count)_\(self.textViews.count)_\(self.textFields.count)_\(self.otherElements.count)_\(self.traits())"
        
        return description
    }
    
