Window

Window

Represents a browser window which contains a Page.

Constructor

new Window()

Source:

Members

browserWindow

Source:
See:
  • Browser#createWindow

page

Description:
  • get Page object in this window.

Source:

get Page object in this window.

Methods

close()

Description:
  • close this BrowserWindow();

Source:

whenReady() → {Promise.<Window>}

Description:
  • Returns a Promise resolved with this window when the underlying browserWindow is ready. Safe to call at any time: if the window is already ready, the Promise is already resolved.

Source:
Returns:
Type
Promise.<Window>