Add comment about panel switching via input event
This commit is contained in:
parent
8d0c5c30b8
commit
13cfc2d2a0
1 changed files with 1 additions and 0 deletions
|
@ -836,6 +836,7 @@ describe('browser-window module', function () {
|
||||||
w.webContents.on('devtools-opened', function () {
|
w.webContents.on('devtools-opened', function () {
|
||||||
var inputEventIntervalId = setInterval(function () {
|
var inputEventIntervalId = setInterval(function () {
|
||||||
if (w && w.devToolsWebContents) {
|
if (w && w.devToolsWebContents) {
|
||||||
|
// Switch panels until the custom one is selected and loads
|
||||||
w.devToolsWebContents.sendInputEvent({
|
w.devToolsWebContents.sendInputEvent({
|
||||||
type: 'keyDown',
|
type: 'keyDown',
|
||||||
keyCode:'[',
|
keyCode:'[',
|
||||||
|
|
Loading…
Reference in a new issue