📝 Add docs for executeJavaScriptInDevTools.

This commit is contained in:
Cheng Zhao 2014-04-08 12:52:42 +08:00
parent d7a54cf3a6
commit cca0d8d583

View file

@ -334,6 +334,13 @@ Closes the developer tools.
Starts inspecting element at position (`x`, `y`).
### BrowserWindow.executeJavaScriptInDevTools(code)
* `code` String
Evaluate `code` in devtools to use
[InspectorFrontendAPI](https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/devtools/front_end/InspectorFrontendAPI.js&q=InspectorFrontendAPI&sq=package:chromium&type=cs)
### BrowserWindow.focusOnWebView()
### BrowserWindow.blurWebView()