как в текущей вкладке заменить url на другой
и так, у меня есть код
driver = webdriver.Chrome(service_log_path='NULL', executable_path="chromedriver.exe")
driver.get("https://ipstress.in/login.php")
driver.find_element_by_xpath("/html/body/div[1]/div[2]/div[1]/div/form/button").click()
он переходит на сайт, и нажимает на кнопку, но как мне после нажатия заменить driver.get("https://ipstress.in/login.php") на driver.get("https://ipstress.in/attack.php")
но не открывать новую вкладку. пробовал через driver.execute_script('document.location.href = "https://ipstress.in/attack.php"'), но оно не работает(