You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use nightmare on electron.
it works fine in debugging mode.
but when I build electron app with electron-builder, it not work and it open multiple window of electron main app.
how can I fix this issue?
its my code:
I use nightmare on electron.
it works fine in debugging mode.
but when I build electron app with electron-builder, it not work and it open multiple window of electron main app.
how can I fix this issue?
its my code:
mainWindow.loadURL('https://google.com')
const Nightmare = require('nightmare')
const nightmare = Nightmare({autoHideMenuBar:true,menuBarVisible:false, electronPath: require('electron').app.getPath('exe');, show: true, });
nightmare.goto("https://github.com")
.catch(error => {
console.error('Search failed:', error)
})
The text was updated successfully, but these errors were encountered: