pyppeteer 报 Execution context was destroyed, most likely because of a navigation

Reference: https://blog.csdn.net/lwdfzr/article/details/106471976

 

 

When you click the button to jump to a new page, you must ensure that your page object is the latest, otherwise the execution context of the page will change

Guess you like

Origin blog.csdn.net/weixin_43343144/article/details/109234969