Javascript – Puppeteer: waitForFunction not working as expected
I am using Node and Puppeteer. I have an element that once I click it, text becomes "Generating" until download is finished. Once completed, text changes to something else. I am trying to poll to 1) verify the text switches…