I’m running Playwright tests in a dev container in VSCode, on Ubuntu 20.04.4
Playwright itself seems to be fine and tries to run the tests.
I select “show browser” in the test settings and when I run the test, a Chromium process starts up (separate to the regular Chromium I’m using for the web) and has one window, but that window can’t be selected and brought to the front, and after a timeout period of 30000ms the test closes and the browser quits.
The error is here
test.beforeAll(async ({browser})) => {
page = await browser.newPage();
p = new PageHelper(page);
}
This fails with "beforeAll" hook timeout of 30000ms exceeded.
so I would assume what’s happening is that the browser opens but never successfully loads a page.
What can I do, what can I check? Where would I find the specific version of chromium that Playwright is using and try running it myself?
1