Variable PageConst

Page: any = ...

This Interactor can be used to assert on global properties of the page. When using the BigTest test runner, it can also be used for interacting with the page itself, for example through nagivation.

await Page.has({ title: 'Welcome to my app!' });

Navigation, for BigTest test runner only:

await Page.visit('/archive');
  • title: string – the title of the document
  • url: string – the URL of the document
  • visit(path: string): Interaction – visit the given path in the test frame, BigTest runner only.