Skip to content

Commit ffa9231

Browse files
committed
Update package version to 0.0.35-23 and comment out download save logic in tab.ts to indicate downloads are not supported via CDP.
1 parent f2c8499 commit ffa9231

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "asteroid-playwright-mcp",
3-
"version": "0.0.35-21",
3+
"version": "0.0.35-23",
44
"description": "Playwright Tools for MCP",
55
"type": "module",
66
"private": false,

src/tab.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ export class Tab extends EventEmitter<TabEventsInterface> {
117117
outputFile: await this.context.outputFile(download.suggestedFilename())
118118
};
119119
this._downloads.push(entry);
120-
await download.saveAs(entry.outputFile);
120+
// Downloads don't work via CDP, so we just mark it as finished
121+
// await download.saveAs(entry.outputFile);
121122
entry.finished = true;
122123
}
123124

0 commit comments

Comments
 (0)