@skrillex1224/playwright-toolkit 2.1.210 → 2.1.211
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.
- package/README.md +3 -3
- package/dist/browser.js +11 -0
- package/dist/browser.js.map +3 -3
- package/dist/index.cjs +549 -152
- package/dist/index.cjs.map +4 -4
- package/dist/index.js +549 -152
- package/dist/index.js.map +4 -4
- package/index.d.ts +3 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -364,6 +364,7 @@ export interface RuntimeEnvState {
|
|
|
364
364
|
actor: string;
|
|
365
365
|
runtime: Record<string, any>;
|
|
366
366
|
envId: string;
|
|
367
|
+
query: string;
|
|
367
368
|
auth: Record<string, string>;
|
|
368
369
|
cookies: ParsedCookie[];
|
|
369
370
|
cookieMap: Record<string, string>;
|
|
@@ -488,9 +489,9 @@ export interface ScreenshotWatermarkifyOptions {
|
|
|
488
489
|
response?: Response | null;
|
|
489
490
|
ip?: string;
|
|
490
491
|
location?: string;
|
|
491
|
-
/**
|
|
492
|
+
/** 手动覆盖底部 Prompt;若同时传了 query,则仍以 query 为准。 */
|
|
492
493
|
prompt?: string;
|
|
493
|
-
/** 实际提交给 AI / 搜索页的 query
|
|
494
|
+
/** 实际提交给 AI / 搜索页的 query;Prompt 字段优先展示它。 */
|
|
494
495
|
query?: string;
|
|
495
496
|
/** 默认会在同一浏览器上下文中访问 http://myip.ipip.net 补充 IP/Loc。 */
|
|
496
497
|
ipLookup?: boolean;
|