element = driver.find_element(By.ID, "id1")
parent_element = element.find_element(By.XPATH, "..")
WebElement myElement = driver.findElement(By.id("myDiv"));
WebElement parent = (WebElement) ((JavascriptExecutor) driver).executeScript(
"return arguments[0].parentNode;", myElement);
parent_element = element.find_element_by_xpath('./..')
//label[contains(., 'labelName')]/parent::*//input[@value='elementToSelect']