I'm trying to write assertions for api testing using postman. In order to debug I'm using console.log() function, which is cluttering the console of Postman.
I've tried console.clear();
in pre-request script but get TypeError.
Error in postman:
Can I programmatically clear the console in pre-request Script or Test section of Postman?
I'm trying to write assertions for api testing using postman. In order to debug I'm using console.log() function, which is cluttering the console of Postman.
I've tried console.clear();
in pre-request script but get TypeError.
Error in postman:
Can I programmatically clear the console in pre-request Script or Test section of Postman?
Share Improve this question edited Mar 3, 2019 at 11:04 Daniel Macak 17.1k4 gold badges32 silver badges51 bronze badges asked Mar 3, 2019 at 10:09 still_breathingstill_breathing 811 silver badge3 bronze badges2 Answers
Reset to default 6"Can I programmatically clear the console in pre-request Script or Test section of Postman?"
Not yet, but it's on the wish-list...
https://github./postmanlabs/postman-app-support/issues/4690
It has now been implemented! https://github./postmanlabs/postman-app-support/issues/4690#issuement-1347768736
console.clear();