"selecting element ""//li/label/input"" followed by text ""polishpottery"" with selenium webdriver `driver`","driver.find_element_by_xpath(""//li/label/input[contains(..,'polishpottery')]"")"