Hi all, I'm using playwright's latest version. All my integration tests (starting on localhost with a specific port) run fine on Chromium/Edge, but on Firefox/Safari I get a blank screen and all my tests fail. While I'm running the tests on Firefox on debug mode, I get a 404 on localhost, BUT IF I open a new tab on the current firefox instance while on debug, and enter manually localhost:[port], the page will open just fine. Any idea?
This thread is trying to answer question "Why do integration tests fail on Firefox/Safari with a blank screen and a 404 error on localhost, but work fine when manually opening a new tab on the current Firefox instance while on debug?"
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].