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.
20 lines • 543 B
TypeScript
import IBrowserFrame from '../types/IBrowserFrame.cjs';
/**
* Browser frame factory.
*/
export default class BrowserFrameFactory {
/**
* Creates a new frame.
*
* @param parentFrame Parent frame.
* @returns Frame.
*/
static createChildFrame(parentFrame: IBrowserFrame): IBrowserFrame;
/**
* Aborts all ongoing operations and destroys the frame.
*
* @param frame Frame.
*/
static destroyFrame(frame: IBrowserFrame): Promise<void>;
}
//# sourceMappingURL=BrowserFrameFactory.d.ts.map