-
-
Notifications
You must be signed in to change notification settings - Fork 261
BrowserPage.reload()
David Ortner edited this page Sep 28, 2025
·
2 revisions
Reloads the current URL.
reload(options?: IReloadOptions): void;| Parameter | Type | Description |
|---|---|---|
| options? | IReloadOptions | Options |
void
import { Browser } from "happy-dom";
const browser = new Browser();
const page = browser.newPage();
// Reloads the current URL.
await page.reload({
hard: true,
timeout: 60000,
});
await browser.close();
Help Packages