diff --git a/spec/ts-smoke/electron/main.ts b/spec/ts-smoke/electron/main.ts index 468d16df7fca..9dfe9e819fa9 100644 --- a/spec/ts-smoke/electron/main.ts +++ b/spec/ts-smoke/electron/main.ts @@ -1226,6 +1226,10 @@ win4.webContents.on('paint', (event, dirty, _image) => { console.log(dirty, _image.getBitmap()); }); +win4.webContents.on('devtools-open-url', (event, url) => { + console.log(url); +}); + win4.loadURL('http://github.com'); // TouchBar