From ecf4bb33465b2a3f6f3a719ebd028575261137a8 Mon Sep 17 00:00:00 2001 From: Josh Olson Date: Thu, 11 Feb 2016 01:03:09 -0600 Subject: [PATCH] Add WebContents.inspectElement to github-electron See https://github.com/atom/electron/blob/master/docs/api/web-contents.md#webcontentsinspectelementx-y --- github-electron/github-electron.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/github-electron/github-electron.d.ts b/github-electron/github-electron.d.ts index dc98181953..6d4620f432 100644 --- a/github-electron/github-electron.d.ts +++ b/github-electron/github-electron.d.ts @@ -778,6 +778,10 @@ declare module Electron { * Toggle the developer tools. */ toggleDevTools(): void; + /** + * Starts inspecting element at position (x, y). + */ + inspectElement(x: number, y: number): void; /** * Send args.. to the web page via channel in asynchronous message, the web page * can handle it by listening to the channel event of ipc module.