puppeteer : wait for ajax call after navigation [duplicate]
问题 This question already has an answer here : how to handle elements that load after ajax request in puppeteer (1 answer) Closed 2 years ago . so in my code i submit a form , wait for navigation and submit a second form ... here is the tricky part ... before the second from submit some data will be loaded in the from with ajax i want to wait for those ajax call the be done and then submit the second form here is a simplified version of my code await Promise.all([ page.click('#form1_submit'),