Set project root
set_project_rootExplicitly set the target project root directory when automated discovery of playwright.config.* fails, ensuring Playwright tests target the correct project.
Instructions
Explicitly set the target project root directory. Use this as a fallback if playwright.config.* cannot be automatically discovered by other tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectRoot | Yes | Absolute path to the target project root, e.g. "/home/user/my-app". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| projectRoot | Yes |