mirror of
https://github.com/microsoft/playwright-mcp.git
synced 2025-07-25 16:02:26 +08:00
docs(readme): Fix syntax error and improve formatting (#263)
The commit fixes a syntax error in the `npx` command by removing an extra backtick. It also improves the formatting by adding line breaks before code blocks to enhance readability.
This commit is contained in:
parent
0ed0bcd914
commit
7256ee3701
@ -132,7 +132,7 @@ And then in MCP client config, set the `url` to the SSE endpoint:
|
||||
When running in a remote server, you can use the `--host` flag to bind the server to `0.0.0.0` to make it accessible from outside.
|
||||
|
||||
```bash
|
||||
npx @playwright/mcp@latest --port 8931 --host 0.0.0.0`
|
||||
npx @playwright/mcp@latest --port 8931 --host 0.0.0.0
|
||||
```
|
||||
|
||||
In MCP client config, `$server-ip` is the IP address of the server:
|
||||
@ -150,6 +150,7 @@ In MCP client config, `$server-ip` is the IP address of the server:
|
||||
### Docker
|
||||
|
||||
**NOTE:** The Docker implementation only supports headless chromium at the moment.
|
||||
|
||||
```js
|
||||
{
|
||||
"mcpServers": {
|
||||
@ -190,6 +191,7 @@ X Y coordinate space, based on the provided screenshot.
|
||||
### Build with Docker
|
||||
|
||||
You can build the Docker image yourself.
|
||||
|
||||
```
|
||||
docker build -t mcp/playwright .
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user