phridge icon indicating copy to clipboard operation
phridge copied to clipboard

support slimerjs?

Open laggingreflex opened this issue 8 years ago • 6 comments

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?

laggingreflex avatar Jan 31 '16 14:01 laggingreflex

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?

jhnns avatar Jan 31 '16 15:01 jhnns

I think so, as Phantom is still the default headless browser...

moshewe avatar Feb 24 '16 14:02 moshewe

Yep, sounds reasonable.

jhnns avatar Feb 25 '16 12:02 jhnns

module child_process not exist in slimerjs, you comment this line in lib/phantom/start.js ?

mynoheart avatar Jul 19 '16 15:07 mynoheart

@mynoheart Hmm, I don't remember commenting that line, no

laggingreflex avatar Jul 19 '16 16:07 laggingreflex

Please, write how you replace phantom to slimer more detail.

mynoheart avatar Jul 19 '16 16:07 mynoheart