UNPKG

happy-dom

Version:

Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.

28 lines 732 B
import IBrowserFrame from '../types/IBrowserFrame.cjs'; import IBrowserPage from '../types/IBrowserPage.cjs'; /** * Browser page utility. */ export default class BrowserPageUtility { /** * Returns frames for a page. * * @param page Page. * @returns Frames. */ static getFrames(page: IBrowserPage): IBrowserFrame[]; /** * Aborts all ongoing operations and destroys the page. * * @param page Page. */ static closePage(page: IBrowserPage): Promise<void>; /** * Returns all frames. * * @param parentFrame Parent frame. * @returns Frames, including the parent. */ private static findFrames; } //# sourceMappingURL=BrowserPageUtility.d.ts.map