close_page method

Future<Online> close_page(
  1. int index
)

Implementation

Future<Online> close_page(int index) async {
  var pages = await browser.pages;
  if (pages.length > index) {
    await pages[index].close();
  }
  return this;
}