These are chat archives for rosshinkley/nightmare

26th
Jan 2017
johnferro
@johnferro
Jan 26 2017 00:53
@ryderlee Sorry I can't be of more help but I'm a bit confused about your overall situation. If you're creating a self-contained electron app you might not need nightmare and can just access the browserwindow/webcontent directly. Otherwise you should be able to use a prebuilt electron and not have to worry about building it
sleepyCoder666
@sleepyCoder666
Jan 26 2017 16:37
Is it possible to run nightmare in the background and send multiple requests to it to load without closing the nightmare process in between?
johnferro
@johnferro
Jan 26 2017 18:41
@sleepyCoder666 If you initialize a nightmare instance electron will start up, and then you can certainly call goto on one url and then another url along with any other commands without calling the end function in between which closes electron
sleepyCoder666
@sleepyCoder666
Jan 26 2017 20:54
Thanks @johnferro. Perhaps I could not explain clearly. The thing is, I want to pass these URLs from another process. And the URLs will be random. Also, I do not want to terminate nightmare. It should be similar to a typical browsing session, where the browser remains open and a user navigates to random webpages.