newPage method

Future<Page> newPage()

Future which resolves to a new Page object. The Page is created in a default browser context.

Implementation

Future<Page> newPage() async {
  return _defaultContext.newPage();
}