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