Skip to content

healenium/healenium-demo-playwright-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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:5000',
          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 separetely (optional)

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

npx -y playwright run-server --port 5000

run playwright proxy with node server

healinium-playwright-proxy

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

run test

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

docs

Running and debugging Playwright tests

About

Healenium Pro Playwright JS tests for demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •