I stumbled upon fact then xref
maybe in upper case or lower case (even partly) on searched page. How to ensure script finds xref if xref is present on page regardless of case?
Post Python: Selenium xpath to find element with case insensitive characters? talks it's not working, but it was 2013. Hope it's changed. How to write proper expression? My current code is:
myLink = WebDriverWait(myDriver,
10).until(ExConditions.presence_of_element_located((By.XPATH,
'//a[starts-with(@href,"https://www.test.org/portal/")]')))