Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 22544

Playwright fetch can't retrieve Post request ended up with test ended error

$
0
0

lately I was doing some research of playwright .. my use case is get Post api call response while page loading and print out for further process...,I came across an issue that fetch post always returns Test ended it fails right at the fetch (), fyi fetch get works for me

I've tried add wait for timeout to extend wait time nothing seems work.

however i was able to successfully get requests details headed,body, url etc of this call which indicates it https intercepted this service

Error snapshot

Does anyone encountered this issue? And how to fetch Post request ? Thanks 🙏

Print Response details


Viewing all articles
Browse latest Browse all 22544

Trending Articles