chrome-devtools-mcp-for-extension 0.8.6 → 0.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -277,13 +277,16 @@ export const reloadExtension = defineTool({
|
|
|
277
277
|
if (shadowRoot) {
|
|
278
278
|
const name = shadowRoot.querySelector('#name')?.textContent?.trim() || '';
|
|
279
279
|
if (name.toLowerCase().includes(searchName.toLowerCase())) {
|
|
280
|
-
// Try multiple selectors for reload button
|
|
281
|
-
let reloadButton = shadowRoot.querySelector('#reload-button');
|
|
280
|
+
// Try multiple selectors for reload button (dev-reload-button in developer mode)
|
|
281
|
+
let reloadButton = shadowRoot.querySelector('#dev-reload-button');
|
|
282
282
|
if (!reloadButton) {
|
|
283
|
-
reloadButton = shadowRoot.querySelector('
|
|
283
|
+
reloadButton = shadowRoot.querySelector('#reload-button');
|
|
284
|
+
}
|
|
285
|
+
if (!reloadButton) {
|
|
286
|
+
// Try finding by aria-label (supports both English and Japanese)
|
|
287
|
+
reloadButton = shadowRoot.querySelector('[aria-label*="再読み込み"]');
|
|
284
288
|
}
|
|
285
289
|
if (!reloadButton) {
|
|
286
|
-
// Try finding by aria-label or title
|
|
287
290
|
reloadButton = shadowRoot.querySelector('[aria-label*="Reload"]');
|
|
288
291
|
}
|
|
289
292
|
if (reloadButton && !reloadButton.hasAttribute('hidden')) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chrome-devtools-mcp-for-extension",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.7",
|
|
4
4
|
"description": "MCP server for Chrome extension development with Web Store automation. Fork of chrome-devtools-mcp with extension-specific tools.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": "./build/src/index.js",
|