Packages

Playwright Assets is a package for installing and running test assets in Playwright Node.js and Elixir implementations.

Current section

Files

Jump to
playwright_assets priv assets shared-worker shared-worker.js
Raw

priv/assets/shared-worker/shared-worker.js

onconnect = event => {
const port = event.ports[0];
port.onmessage = e => port.postMessage('echo:' + e.data);
};