mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
The `os.userInfo()` call might throw on POSIX if there is no user info for the current `uid`. This might happen, if the docker is launched like this: ``` docker run --rm -u 1234:1234 -it mcr.microsoft.com/playwright:v1.32.0 node -e 'console.log(os.userInfo().username)' ``` So instead of using `os.userInfo()`, rely on effective user id. Fixes https://github.com/microsoft/playwright/issues/22721
@playwright/test
This package contains Playwright Test. A test-runner for writing idiomatic and reliable end-to-end tests with Playwright.