These are chat archives for rosshinkley/nightmare

11th
Jan 2018
Davide De Gennaro
@dege88
Jan 11 2018 07:55
@anouarhassine use the .header function to pass an accept language header with your language
(you can sniff your browsers headers with this site: https://www.whatismybrowser.com/detect/what-http-headers-is-my-browser-sending or by using the inspector of your browser)
Anouar Hassine
@anouarhassine
Jan 11 2018 08:55
Thanks @dege88 I'll have a look at that!
Basheer
@basherr
Jan 11 2018 10:53
segmentio/nightmare#1357
I see that the issues aren't being resolved. Do you guys have any plan to maintain?
Davide De Gennaro
@dege88
Jan 11 2018 11:38
@basherr after the release of headless chrome ( https://developers.google.com/web/updates/2017/04/headless-chrome ) almost all the browser automation libraries died
@basherr about your issue I believe that the class definition is not visible inside the execute scope, I believe that you need to redeclare it inside.
Basheer
@basherr
Jan 11 2018 11:51
@dege88 There isn't just that much code but alot...! It was just for hint...
Davide De Gennaro
@dege88
Jan 11 2018 13:54
@basherr I expected it, but unfortunately (fortunately) the electron process and the node process don't share the same resources