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