Add preview to workflow tabs (#4290)

This commit is contained in:
pythongosssss
2025-08-09 22:39:40 +01:00
committed by GitHub
parent ff5943f770
commit 03ad06ea14
10 changed files with 858 additions and 19 deletions

View File

@@ -767,8 +767,8 @@ export class ComfyPage {
await this.nextFrame()
}
async rightClickCanvas() {
await this.page.mouse.click(10, 10, { button: 'right' })
async rightClickCanvas(x: number = 10, y: number = 10) {
await this.page.mouse.click(x, y, { button: 'right' })
await this.nextFrame()
}