close method
Closes the browser context. All the targets that belong to the browser context will be closed.
NOTE only incognito browser contexts can be closed.
Implementation
Future<void> close() async {
assert(id != null, 'Non-incognito profiles cannot be closed!');
await browser._disposeContext(id!);
}