Skip to content

DetachedWindowAPI.close()

David Ortner edited this page Apr 6, 2024 · 3 revisions

Closes the window and associated browser.

The difference between Window.close() and DetachedWindowAPI.close() is that this method returns a promise that is resolved when all operations has been aborted.

Signature

async close(): Promise<void>;

Returns

Promise<void>

Clone this wiki locally