Context object.
Optional
url: stringURL to navigate to.
Context object where page is the newly created tab.
The tab will be created in the same browser of the given ctx
.
const newPageCtx = await createPage(ctx, 'https://example.com');
await click(newPageCtx, 'button[id="submit"]');
Generated using TypeDoc
Creates a new browser tab, and returns its scoped Context.