You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3a76eca
Browse filesBrowse the repository at this point in the historyBrowse files
When you pass `--port`, other users on your machine can open the trace on that port. When you pass `--host`, anyone who can reach this address and port can open the trace, for example other machines in your network with `--host=0.0.0.0`.
Copy file name to clipboardExpand all lines: docs/src/test-ui-mode-js.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,5 +128,7 @@ npx playwright test --ui-port=8080 --ui-host=0.0.0.0
128
128
```
129
129
130
130
:::note
131
-
Be aware that when specifying the `--ui-host=0.0.0.0` flag, UI Mode with your traces, the passwords and secrets are accessible from other machines inside your network. In the case of GitHub Codespaces, the ports are only accessible from your account by default.
131
+
Be aware that when specifying the `--ui-host` flag, UI Mode, with your traces, passwords and secrets, is accessible to anyone who can reach this address and port. With `--ui-host=0.0.0.0`, this includes other machines inside your network. In the case of GitHub Codespaces, the ports are only accessible from your account by default.
132
+
133
+
When specifying the `--ui-port` flag, other users on your machine can connect to UI Mode on that port. They can run your tests and read your project files and traces.
0 commit comments