Future<Online> close_all_pages() async { var pages = await browser.pages; for (var page in pages) { await (await page).close(); } return this; }