diff --git a/spec/api-web-contents-spec.js b/spec/api-web-contents-spec.js index ada1a1be46fe..fb9c17125aa2 100644 --- a/spec/api-web-contents-spec.js +++ b/spec/api-web-contents-spec.js @@ -277,4 +277,12 @@ describe('webContents module', function () { done() }) }) + + it('supports inspecting an element in the devtools', function (done) { + w.loadURL('about:blank') + w.webContents.once('devtools-opened', function () { + done() + }) + w.webContents.inspectElement(10, 10) + }) })