BrowserContext.close() method
Closes this browser context and all associated pages.
Signature:
class BrowserContext {
abstract close(): Promise<void>;
}
Returns:
Promise<void>
Remarks
The default browser context cannot be closed.
Closes this browser context and all associated pages.
class BrowserContext {
abstract close(): Promise<void>;
}
Returns:
Promise<void>
The default browser context cannot be closed.