Sorry I can't find the answer.
Do you know if it was possible to open a :
link = driver.find_element(By.XPATH,'//*[@id="block-system-main"]/div/div/div/div[3]/table/tbody/tr[{}]/td[2]/a'.format(rando))
driver.execute_script("arguments[0].scrollIntoView()",link)
link.click()
In a another tab or windows if it was not programmed by the website?
And after that I can switch, i know this part. Thanks for your help.