MCPcopy Create free account
hub / github.com/ChromeDevTools/devtools-frontend / evalCode

Function evalCode

front_end/Tests.js:1226–1228  ·  view source on GitHub ↗
(target, code)

Source from the content-addressed store, hash-verified

1224 }
1225
1226 async function evalCode(target, code) {
1227 return (await target.runtimeAgent().invoke_evaluate({expression: code})).result.value;
1228 }
1229
1230 TestSuite.prototype.testInputDispatchEventsToOOPIF = async function() {
1231 this.takeControl();

Callers 2

Tests.jsFile · 0.85
takeLogsFunction · 0.85

Calls 2

invoke_evaluateMethod · 0.80
runtimeAgentMethod · 0.80

Tested by

no test coverage detected