Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Unable to see the websocket requests in the network tab of firefox browser #30498

Open
I-Preetham opened this issue Apr 24, 2024 · 3 comments

Comments

@I-Preetham
Copy link

Version

v1.43.1

Steps to reproduce

1)Create the following testcase :
test("Websocket issue testing", async({page}) =>{ await page.goto("https://app.gosandy.io/"); })

2)Run the following testcase with firefox browser through vs code. (Make sure to check the checkbox for "Show Browser").

3)Inspect the network tab of the firefox browser for any websocket connections.

Expected behavior

The websocket requests are displayed in the network tab of the firefox browser.

Actual behavior

The websocket requests cannot be seen in the network tab of the firefox browser, can be seen in chromium though.

Chromium browser:
Chromium
Firefox browser:
Firefox

Additional context

Though these requests cannot be seen, the application works without any issues. Meaning, the requests are being sent in the background but just cannot be seen in the network tab.

Environment

System:
    OS: Windows 10 10.0.19045
    CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
    Memory: 14.41 GB / 31.75 GB
  Binaries:
    Node: 16.15.0 - C:\Program Files\nodejs\node.EXE
    npm: 8.5.5 - C:\Program Files\nodejs\npm.CMD
  IDEs:
    VSCode: 1.88.1 - C:\Users\prb\AppData\Local\Programs\Microsoft VS Code\bin\code.CMD
  Languages:
    Bash: 5.0.17 - C:\WINDOWS\system32\bash.EXE
  npmPackages:
    @playwright/test: ^1.43.1 => 1.43.1
@pavelfeldman
Copy link
Member

This looks like something you want to bring up with Firefox team. I'm opening that page in FF and see no WS in their network panel.

@I-Preetham
Copy link
Author

I do see the websocket request in the normal firefox browser. These requests are not seen when the firefox browser is launched from playwright.
image

@pavelfeldman
Copy link
Member

Yep, I can repro, was opening using npx playwright out of habit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants