The current code takes me to the correct url, but ends up just printing the url I was at before.
for i in range(25):
driver.find_element(By.XPATH, f'//*[@id="listing_{i}"]').click()
print(driver.current_url)
I want to get the new current_url after performing the click() request