Back to Puppeteer

CreatePageOptions type

website/versioned_docs/version-24.40.0/api/puppeteer.createpageoptions.md

19.2.2287 B
Original Source

CreatePageOptions type

Signature

typescript
export type CreatePageOptions = (
  | {
      type?: 'tab';
    }
  | {
      type: 'window';
      windowBounds?: WindowBounds;
    }
) & {
  background?: boolean;
};

References: WindowBounds