MCPcopy Create free account
hub / github.com/Wscats/chrome-devtools-cli / execScript

Method execScript

src/core/view/panel/ViewPanel/index.tsx:333–335  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

331 }
332 // 在页面注入输入的脚本
333 execScript() {
334 tool.injectScriptStringToPage(`;(()=>{${this.state.textAreaScript}})();`);
335 }
336 // 在页面注入输入的脚本
337 sheetSearchTree() {
338 tool.injectScriptStringToPage(`;(${handleSheetSearchTree.toString()})();`);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected