MCPcopy Create free account
hub / github.com/a1076559139/XForge / executeJavaScript

Method executeJavaScript

extensions/app/engine/@types/electron.d.ts:10743–10743  ·  view source on GitHub ↗

* A promise that resolves with the result of the executed code or is rejected if * execution throws or results in a rejected promise. * * Evaluates `code` in page. * * In the browser window some HTML APIs like `requestFullScreen` can only be * invoked by a gesture from

(code: string, userGesture?: boolean, callback?: (result: any, error: Error) => void)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

updateMarkFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected