@skrillex1224/playwright-toolkit 2.0.49 → 2.0.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +5 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -151,9 +151,14 @@ export interface ParsedCookie {
151
151
  path?: string;
152
152
  }
153
153
 
154
+ export interface FullPageScreenshotOptions {
155
+ buffer?: number;
156
+ }
157
+
154
158
  export interface UtilsModule {
155
159
  parseSseStream(sseText: string): any[];
156
160
  parseCookies(cookieString: string, domain: string): ParsedCookie[];
161
+ fullPageScreenshot(page: Page, options?: FullPageScreenshotOptions): Promise<string>;
157
162
  }
158
163
 
159
164
  // =============================================================================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skrillex1224/playwright-toolkit",
3
- "version": "2.0.49",
3
+ "version": "2.0.50",
4
4
  "description": "一个在 Apify/Crawlee Actor 中启用实时截图视图的实用工具库。",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",