Hi, in puppeteer there was a request._requestId which gave a unique ID to each network request. Does something similar exist in playwright?
I've tried making my own using ${request.utl()}-${request.timing().startTime} but realize that startTime seems to be 0 within page.on('request') but has a timestamp on page.on('response').
My use case is that I want to keep track of all requests, and later associate the responses accordingly, so that I can maintain a list of which requests were attempted, finished, and unable to finish in the given timeout.
Hi, in
puppeteerthere was arequest._requestIdwhich gave a unique ID to each network request. Does something similar exist in playwright?I've tried making my own using
${request.utl()}-${request.timing().startTime}but realize thatstartTimeseems to be0withinpage.on('request')but has a timestamp onpage.on('response').My use case is that I want to keep track of all requests, and later associate the responses accordingly, so that I can maintain a list of which requests were attempted, finished, and unable to finish in the given timeout.