Drag & drop image attachment (#304)

This commit is contained in:
Will Chen
2025-06-02 14:43:20 -07:00
committed by GitHub
parent 0229f47f31
commit 25195d09f6
3 changed files with 69 additions and 0 deletions

View File

@@ -245,6 +245,10 @@ class PageObject {
await closeButtons.nth(i).click();
}
}
async sleep(ms: number) {
await new Promise((resolve) => setTimeout(resolve, ms));
}
}
// From https://github.com/microsoft/playwright/issues/8208#issuecomment-1435475930