Nombramiento de la ventana de selenio

window_before = driver.window_handles[0]
driver.switch_to_window(window_before)
Happy Hamster