I has clicked in the button, but the code stop and doesnt continue
print("I gonna click in the toaster")
site.find_element(By.XPATH,"//div[text()='Clique para visualizar']").click()
print("The toaster was clicked")
When python click in the button it freeze and the only return in terminal is 'I gonna click in the toaster'
when i click in the button, it disappear and a new window is opened
I tried put a implicitly_wait and not work I tried put a sleep time but also not work