-
-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for running phantomas in SlimerJS #313
Comments
Could it be possible to abstract phantomas core so it runs on both? That opens more possibilities for testing in webkit and gecko browsers, similar to what casperjs is doing. |
👍 |
@gomezd, as far as skimmed through SlimerJS documentation, that's possible and definitely worth it. Will command line options like the following be enough?
alternatively:
|
Including both sounds great! 👍 |
Guys, thanks for your feedback. Issue title updated accordingly :) |
For an old side project of mine, I've gotten SlimerJS working with xvfb on my local machine and a VPS. However, I did have issues using it on Stackato (ActiveState's PAAS like herkou) where the requested frame buffer memory size caused SlimerJS to crash on graphic-intensive web sites. https://github.com/cvan/firesnaggle/blob/master/install-packages.sh I think we should totally do this, but we should do thorough testing on pages of varying sizes. |
@cvan, thanks for the feedback! It will definitely require lots of testing. |
Blockers:
TODOs:
|
SlimerJS support (run via xvfb) added to phantomas as an experimental feature. Core functionality works correctly, expect some glitches in various modules :) |
PhantomJS 2.0 release is past due by about 1 month and there are quite a lot of bugs still open.
Consider porting phantomas to SlimerJS:
onResourceReceived
passes the body of the response (yay!)Disadvantages:
xvfb
can be used on *nix boxes where xorg is not installed@stefanjudis, @william-p, @cvan, @gomezd - let's discuss it :)
The text was updated successfully, but these errors were encountered: