Add commands for dealing with cache and site data, cookies, etc
This commit is contained in:
@@ -533,9 +533,87 @@ Manage files (cleanup, list, get info).
|
||||
|
||||
Operations: `cleanup` (remove old files), `list` (list files), `info` (get file details).
|
||||
|
||||
#### 28. `web_disable_cache_cremotemcp`
|
||||
Disable browser cache for a tab.
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "web_disable_cache_cremotemcp",
|
||||
"arguments": {
|
||||
"tab": "tab-123",
|
||||
"timeout": 5
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
#### 29. `web_enable_cache_cremotemcp`
|
||||
Enable browser cache for a tab.
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "web_enable_cache_cremotemcp",
|
||||
"arguments": {
|
||||
"tab": "tab-123",
|
||||
"timeout": 5
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
#### 30. `web_clear_cache_cremotemcp`
|
||||
Clear browser cache for a tab.
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "web_clear_cache_cremotemcp",
|
||||
"arguments": {
|
||||
"tab": "tab-123",
|
||||
"timeout": 5
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
#### 31. `web_clear_all_site_data_cremotemcp`
|
||||
Clear all site data including cookies, storage, cache, etc. for a tab.
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "web_clear_all_site_data_cremotemcp",
|
||||
"arguments": {
|
||||
"tab": "tab-123",
|
||||
"timeout": 10
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
#### 32. `web_clear_cookies_cremotemcp`
|
||||
Clear cookies for a tab.
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "web_clear_cookies_cremotemcp",
|
||||
"arguments": {
|
||||
"tab": "tab-123",
|
||||
"timeout": 5
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
#### 33. `web_clear_storage_cremotemcp`
|
||||
Clear web storage (localStorage, sessionStorage, IndexedDB, etc.) for a tab.
|
||||
|
||||
```json
|
||||
{
|
||||
"name": "web_clear_storage_cremotemcp",
|
||||
"arguments": {
|
||||
"tab": "tab-123",
|
||||
"timeout": 5
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## 🎉 Complete Enhancement Summary
|
||||
|
||||
All 5 phases of the MCP enhancement plan have been successfully implemented, delivering a comprehensive web automation platform with **27 tools** organized across the following capabilities:
|
||||
All 6 phases of the MCP enhancement plan have been successfully implemented, delivering a comprehensive web automation platform with **33 tools** organized across the following capabilities:
|
||||
|
||||
### ✅ Phase 1: Element State and Checking (2 tools)
|
||||
**Enables conditional logic without timing issues**
|
||||
@@ -579,6 +657,17 @@ All 5 phases of the MCP enhancement plan have been successfully implemented, del
|
||||
|
||||
**Benefits**: Better debugging with targeted screenshots, improved file handling workflows, automatic resource management, enhanced visual debugging capabilities.
|
||||
|
||||
### ✅ Phase 6: Browser Cache and Site Data Management (6 tools)
|
||||
**Enables comprehensive cache and site data control for testing and privacy**
|
||||
- `web_disable_cache_cremotemcp`: Disable browser cache for a tab
|
||||
- `web_enable_cache_cremotemcp`: Enable browser cache for a tab
|
||||
- `web_clear_cache_cremotemcp`: Clear browser cache for a tab
|
||||
- `web_clear_all_site_data_cremotemcp`: Clear all site data (cookies, storage, cache, etc.)
|
||||
- `web_clear_cookies_cremotemcp`: Clear cookies for a tab
|
||||
- `web_clear_storage_cremotemcp`: Clear web storage (localStorage, sessionStorage, IndexedDB, etc.)
|
||||
|
||||
**Benefits**: Essential for testing scenarios requiring fresh page loads, performance testing without cached resources, debugging cache-related issues, ensuring consistent test environments, privacy testing, authentication testing, and complete site data cleanup.
|
||||
|
||||
## Key Benefits for LLM Agents
|
||||
|
||||
### 🚀 **Efficiency Gains**
|
||||
|
||||
Reference in New Issue
Block a user