# Snapshot ## Get HTML content and screenshot. `client.browserRendering.snapshot.create(SnapshotCreateParamsparams, RequestOptionsoptions?): SnapshotCreateResponse` **post** `/accounts/{account_id}/browser-rendering/snapshot` Returns the page's HTML content and screenshot. Control page loading with `gotoOptions` and `waitFor*` options. Customize screenshots with `viewport`, `fullPage`, `clip` and others. ### Parameters - `SnapshotCreateParams = Variant0 | Variant1` - `SnapshotCreateParamsBase` - `Variant0 extends SnapshotCreateParamsBase` - `Variant1 extends SnapshotCreateParamsBase` ### Returns - `SnapshotCreateResponse` - `content: string` HTML content. - `screenshot: string` Base64 encoded image. ### Example ```node import Cloudflare from 'cloudflare'; const client = new Cloudflare({ apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted }); const snapshot = await client.browserRendering.snapshot.create({ account_id: 'account_id', html: '