How to check if my Bokeh Server Application is completely loaded and rendered?
I would like to integrate my Bokeh Server Application in Electron. So what I did is to run bokeh server using python-shell like this mainWindow = new BrowserWindow({ width: 1000, height: 700, show: false, }) var PythonShell = require('python-shell'); var options = { mode: 'text', pythonPath: 'python3', pythonOptions: ['-m'], scriptPath: '', args: ['serve','bokeh_project/'] }; PythonShell.run('bokeh', options, function (err, results) { if (err) throw err; console.log('results: %j', results); }); mainWindow.loadURL('http://localhost:5006'); mainWindow.once('did-finish-load', () => { mainWindow