getParentElement returns promise