You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The actual target URL (ie. where the button takes you) should be printed.
Actual
The code prints https://paste.ononoki.org/ rather than the target url (eg something like https://paste.ononoki.org/?18f7b2d1ee31024c#BMXkAs1MzWBm5Jot4Yc3XPGFH9sTDXFeFBsBneusvAaZ).
page.wait_for_load_state("domcontentloaded") has no effect either.
The text was updated successfully, but these errors were encountered:
It returns immediately because there is load event already fired on the page before the actual navigation has happened. So this works as intended but I agree that it might be confusing. Wait for navigation is what you want here.
System info
Source code
Steps
Expected
The actual target URL (ie. where the button takes you) should be printed.
Actual
The code prints
https://paste.ononoki.org/
rather than the target url (eg something likehttps://paste.ononoki.org/?18f7b2d1ee31024c#BMXkAs1MzWBm5Jot4Yc3XPGFH9sTDXFeFBsBneusvAaZ
).page.wait_for_load_state("domcontentloaded")
has no effect either.The text was updated successfully, but these errors were encountered: