close_all_other_pages method

Future<Online> close_all_other_pages()

Implementation

Future<Online> close_all_other_pages() async {
  while ((await browser.pages).length > 1) {
    await close_page(1);
  }
  return this;
}