Add basic inspectElement spec
This commit is contained in:
parent
602db2e04f
commit
1b036a284d
1 changed files with 8 additions and 0 deletions
|
@ -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)
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue