79420817

Date: 2025-02-07 12:07:36
Score: 1
Natty:
Report link

The following few statements seem to resolve the issue, where the variable page carries the previous reference. After loading the new page (click in this case):

current_url = await page.evaluate("window.location.href")  # Get the new url
page = await driver.get(current_url)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: steve