Skip to main content

Visit

This method is similar to PageVisit, but typically operates at a higher level. It navigates the browser to a specified URL, often starting a fresh session or using the default page. It is used to visit websites and load the content.

Parameters

  • url - String : The URL to which you want to navigate, specifying the new page to be loaded.

  • Set a variable (optional) : An optional variable name to store the response of the visit, allowing you to reference the result later (e.g., pageresponse).

RpScript​

How to use
Pupet.OpenBrowser({ headless: false, browser: "Chrome" });
var pageresponse = Pupet.Visit("https://erametricras.com/");
Wait(10);
Pupet.CloseBrowser();

Extension​