style: fix linting errors and update README with new tools
- Auto-fix trailing spaces, curly braces, and indentation issues - Clean up boolean comparisons and code formatting - README automatically updated with new code injection tools: - browser_enable_debug_toolbar: Enable debug toolbar for client identification - browser_inject_custom_code: Inject custom JavaScript/CSS code - browser_list_injections: List all active code injections - browser_disable_debug_toolbar: Disable debug toolbar - browser_clear_injections: Remove custom code injections All linting checks now pass successfully.
This commit is contained in:
parent
b7ec4faf60
commit
a41a73af2a
27 changed files with 1603 additions and 134 deletions
17
test-workspace/README.md
Normal file
17
test-workspace/README.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# MCP Roots Test Workspace
|
||||
|
||||
This workspace is used to test the MCP roots functionality with Playwright.
|
||||
|
||||
## Expected Behavior
|
||||
|
||||
When using Playwright tools from this workspace, they should:
|
||||
- Detect this directory as the project root
|
||||
- Save screenshots/videos to this directory
|
||||
- Use environment-specific browser options
|
||||
|
||||
## Test Steps
|
||||
|
||||
1. Use browser_navigate to go to a website
|
||||
2. Take a screenshot - should save to this workspace
|
||||
3. Start video recording - should save to this workspace
|
||||
4. Check environment detection
|
||||
Loading…
Add table
Add a link
Reference in a new issue