Skip to content

healenium/healenium-example-playwright-javascript

Repository files navigation

healenium-example-playwright-javascript

prerequisites

in the playwright.config.js

connection to healenium proxy:

        connectOptions: {
          // wsEndpoint: process.env.PLAYWRIGHT_SERVER_URL || 'ws://localhost:5050',
          wsEndpoint: process.env.PLAYWRIGHT_SERVER_URL || 'ws://localhost:8080/playwright-proxy',
          timeout: 600000,            // 60 seconds for WebSocket connection timeout
        },

build

npm install

run playwright server separately (optional)

Check healenium docker-compose. If playwright server is not with playwright-proxy, then run it separately

npx -y playwright run-server --port 5050

run playwright proxy with node server

healenium-playwright-proxy

connection to the proxy is configured in the playwright.config.js

run test

npx playwright test tests/test-env/selenium-like-page-api/css-1.spec.js

docs

Running and debugging Playwright tests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors