Closed Evilweed closed 2 years ago
@dgozman I've sent you basic auth and login credentials over email.
(Over to Dmitry since he has some credentials now to reproduce this!)
This seems the same issue as #10375, which was fixed by #10518 and will be available in 1.18 release. That also explains why I can repro the issue with v1.17.1, but not on the main.
Until 1.18 is out, you can try the unstable version with npm install -D @playwright/test@next
.
Context:
Code Snippet
Describe the bug
Test fails with Target Closed whenever we are clicking submit button in iFrame - While digging in Playwright code
node_modules/playwright-core/lib/server/chromium/crConnection.js:226
, we have found out that issue is related also to Websocket (see screenshot below). We have a website that contains iFrame and in this iFrame we are loading some other part of website. There are scripts that replace URL's and show loading spinners inside iFrame.I've tried to create smallest possible case without using our app, but i guess there is many moving blocks and some race condition, and was unable to recreate it, so this case uses our app.
Redacted log file:
log.txt
Screenshot of issue debugging: