I want to write a simple Pre-request Script in Postman that asks for a user confirmation if the request should really be executed. I think about using
var confirmed = confirm("Start request?");
or
var confirmed = window.confirm("Start request?");
But it states "confirm is not defined" or "window is not defined".