Open laggingreflex opened 8 years ago
That's interesting. We could provide an option to specify the path
. This would allow the developer to pass in the exact version of phantomjs or slimerjs – on their own risk of course :wink:
However, should phantomjs still be a dependency of phridge then?
I think so, as Phantom is still the default headless browser...
Yep, sounds reasonable.
module child_process
not exist in slimerjs, you comment this line in lib/phantom/start.js ?
@mynoheart Hmm, I don't remember commenting that line, no
Please, write how you replace phantom to slimer more detail.
I tried using this with slimerjs (replacing the phantomjs module and supplying
.path
to slimerjs) and it worked, which isn't surprizing as slimer aims to have almost identical API as phantom, and many other phantom bridges support it as well.thoughts?