This commit is contained in:
@@ -370,6 +370,13 @@ export async function executeTool(
|
||||
{ type: 'screenshot', value: `app-test-${app}-final.png` },
|
||||
];
|
||||
|
||||
// TestWorkspaceApp keeps single-image screenshots (design scope: do not adopt
|
||||
// BrowseWeb's default viewport segmentation here). Force full-page single
|
||||
// capture for any screenshot action unless a step explicitly opts in.
|
||||
for (const a of builtActions) {
|
||||
if (a.type === 'screenshot' && a.segments === undefined) a.segments = false;
|
||||
}
|
||||
|
||||
const pageResult = await runPageActions(harnessUrl, builtActions, ctx, {
|
||||
isolatedContext: true,
|
||||
extraAllowedHosts: ['localhost', '127.0.0.1'],
|
||||
|
||||
Reference in New Issue
Block a user