playwright icon indicating copy to clipboard operation
playwright copied to clipboard

[Feature]server mode and ui mode,the same as codeceptjs

Open chensce opened this issue 1 year ago • 4 comments

the ref site: https://github.com/codeceptjs/ui

chensce avatar May 23 '23 07:05 chensce

In server mode, we can visit it by the web browser in anywhere.

chensce avatar May 23 '23 08:05 chensce

@chensce Are you proposing a feature? Could you please be more descriptive?

dgozman avatar May 24 '23 21:05 dgozman

npx playwright test --ui npx playwright test --server server mode,we can visit the page the same as ui mode by http://localhost:4003/

chensce avatar May 25 '23 03:05 chensce

server mode is the web, and ui mode is the app; the server mode can been visited in anywhere by browser.

chensce avatar May 25 '23 03:05 chensce

Looks like https://github.com/microsoft/playwright/issues/22309 and https://github.com/microsoft/playwright/issues/23372.

mxschmitt avatar May 31 '23 11:05 mxschmitt

This is done, see here: https://playwright.dev/docs/test-ui-mode#docker--github-codespaces

mxschmitt avatar Aug 18 '23 19:08 mxschmitt