Skip to main content

CloseAllPage

This method closes all open pages or tabs within the browser instance. It ensures that all pages are terminated and their resources are freed.

RpScript​

How to use
Pupet.OpenBrowser({ headless: false, browser: "Chrome" });
var pageresponse = Pupet.Visit("https://erametricras.com/");
var newPage = Pupet.NewPage();
var newPageResponse = Pupet.Visit("https://erametricras.com/contact/");
Pupet.CloseAllPage();

Extension​