def delete ( self , name ) : obj = self . _get_object ( name ) if obj : return self . driver . delete_object ( obj )
python delete object command on button
Delete object on remote
def delete(self, name):
        """Delete object on remote"""
        obj = self._get_object(name)
        if obj:
            return self.driver.delete_object(obj)