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