mrturck
PROOP
2 years ago
I am getting /playwright 404 Not Found when connecting to the deployment
6 Replies
```import { chromium } from "playwright";
…
const browser = await chromium.connect(
process.env.BROWSERPLAYWRIGHTENDPOINT as string
);```
results in:
- wss://browserless-52ol-production.up.railway.app/playwright
- wss://browserless-52ol-production.up.railway.app/playwright 404 Not Found
<title>Error</title>
<pre>Cannot GET /playwright</pre>
- wss://browserless-52ol-production.up.railway.app/playwright error WebSocket was closed before the connection was established
- wss://browserless-52ol-production.up.railway.app/playwright WebSocket was closed before the connection was established
- wss://browserless-52ol-production.up.railway.app/playwright code=1006 reason=No luck after switching from bun to npm and ensuring that client and server version match
2 years ago
I was unabe to reproduce this with the browserless v1 template and the example code here -