text = "hogehoge"
find_text = '//*[translate(@aria-label, "ABCDEFGHIJKLMNOPQRSTUVWXYZ", "abcdefghijklmnopqrstuvwxyz")="' + text + '"]'
driver.find_element_by_xpath(find_text)
===== スペースを消して検索 =====
text = "hogehoge"
find_text = '//*[translate(@aria-label, " ", "")="' + text + '"]'
driver.find_element_by_xpath(find_text)
{{tag>xpath selenium}}