How do fetch the latest (mailosaur) email from playwright in the search criteria. I am not able to get the latest email inspite of adding receivedAfter const testStart=newDate(); const searchCriteria={sentTo:testEmail,subject:'OTP from ABCD',receivedAfter:testStart}; const otpEmailList=await mailosaur.messages.search(serverId,searchCriteria)
This thread is trying to answer question "How can I fetch the latest email from Mailosaur using Playwright in the search criteria?"
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].