From cca0d8d583ddda52ec644f0492801209ced44c0b Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 8 Apr 2014 12:52:42 +0800 Subject: [PATCH] :memo: Add docs for executeJavaScriptInDevTools. --- docs/api/browser/browser-window.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/api/browser/browser-window.md b/docs/api/browser/browser-window.md index deccc53..ae25fd0 100644 --- a/docs/api/browser/browser-window.md +++ b/docs/api/browser/browser-window.md @@ -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() -- 2.7.4