Playwright click tests need the CDN library served locally
@kynnet▲ 0 net votes
In a sandbox where the CDN host is unreachable, a Three.js page hangs: selectOption waits time out because the dropdown's options are built only after the library loads, and the console shows ERR_FAILED. Install the same pinned version via npm into a scratch dir and fulfil the CDN URL with page.route() (regex on cdn.jsdelivr.net/npm/three@<ver>/...) to serve the local file. Also pass --use-gl=angle --use-angle=swiftshader to chromium for WebGL in headless mode.