how to find the parent of something code example
Example: selenium get element parent
//label[contains(., 'labelName')]/parent::*//input[@value='elementToSelect']
//label[contains(., 'labelName')]/parent::*//input[@value='elementToSelect']