You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BAD Playwright Version: 1.31.2 (This also exists on 1.32.1)
Operating System: Mac
Extra: [any specific details about your environment]
Code Snippet
import{test}from'@playwright/test';test('Firefox issue',async({ page })=>{awaitpage.goto('https://web-examples.pspdfkit.com/hello?mode=standalone');constframe=page.mainFrame().childFrames()[0]awaitframe.click('.PSPDFKit-Toolbar-Button-Annotate')awaitframe.click("[title='Text']")constcanvasLocator=frame.locator(`.PSPDFKit-Page[data-page-index="0"][data-page-is-loaded="true"]`).locator('.PSPDFKit-Text-Canvas')awaitcanvasLocator.waitFor()// This never resolves for firefoxawaitcanvasLocator.click({position: {x: 50,y: 50},})});
Describe the bug
The above test passes 100% on all browsers except firefox. It worked fine on firefox in 1.30.0. I get the following wrror in recent versions:
Running 1 test using 1 worker
1) [firefox] › example.spec.ts:3:5 › Firefox issue ───────────────────────────────────────────────
Test timeout of 30000ms exceeded.
locator.click: Target closed
=========================== logs ===========================
waiting for locator('.PSPDFKit-Page[data-page-index="0"][data-page-is-loaded="true"]').locator('.PSPDFKit-Text-Canvas')
locator resolved to <div class="PSPDFKit-4dwy35ce5zzs8fcuzm4z5qyj9j PSPDF…></div>
attempting click action
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
performing click action
============================================================
10 |
11 | // This never resolves for firefox
> 12 | await canvasLocator.click({
| ^
13 | position: { x: 50, y: 50 },
14 | })
15 | });
at /Users/ritz078/projects/playwright-repro/tests/example.spec.ts:12:23
Pending operations:
- locator.click at tests/example.spec.ts:12:23
The text was updated successfully, but these errors were encountered:
Context:
Code Snippet
Describe the bug
The above test passes 100% on all browsers except firefox. It worked fine on firefox in 1.30.0. I get the following wrror in recent versions:
The text was updated successfully, but these errors were encountered: