Git Product home page Git Product logo

r3b / phantomjs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ariya/phantomjs

84.0 84.0 23.0 66.6 MB

Scriptable Headless WebKit, once more with plugin support

Home Page: http://www.ryanbridges.org/2013/05/21/putting-the-flash-back-in-phantomjs/

License: BSD 3-Clause "New" or "Revised" License

Ruby 0.01% C 13.05% Shell 0.59% CoffeeScript 0.04% JavaScript 2.85% C++ 77.86% Objective-C 1.19% Objective-C++ 2.24% Python 1.11% Assembly 0.12% CSS 0.21% Java 0.13% Vim Script 0.01% Emacs Lisp 0.01% IDL 0.01% SAS 0.01% Smalltalk 0.01% Perl 0.58% ASP 0.01% C# 0.01%

phantomjs's People

Contributors

aivaturi avatar aportale avatar ariya avatar bradleyboy avatar davidrapin avatar detro avatar dos1 avatar ecsv avatar execjosh avatar fastclemmy avatar fsouza avatar heydenberk avatar ianoxley avatar jamesmgreene avatar jgonera avatar jgornick avatar jimevans avatar jonleighton avatar lfranchi avatar mattn avatar milianw avatar mintbridge avatar n1k0 avatar neraliu avatar p avatar r3b avatar rgieseke avatar sodabrew avatar vitallium avatar vvavrychuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

phantomjs's Issues

Cannot find executable for CFBundle

Having a look at logs trying to get this work, I can see:

Cannot find executable for CFBundle 0x22f4d10 </Library/Internet Plug-Ins/Unused> (not loaded)

Is this a clue?

On MaxOSX using the provided installer

Rendering with xvbf-run seems to be wrong

Hi,

Thank you for your work, may be it can solve our problem :)

So, I'm trying your solution. It perfectly works on my desktop computer where a graphical enviroment is installed. But, when I'm trying to launch it on server side (ssh) , this is the result

http://cdn.imghack.se/images/4a417fb6361dbbd2f68561607d2bc453.png

We can see the image, but clearly not rendering correctly. And as I said, it perfectly works when I produce it on graphical environnement, and by ssh with xvbf-run, it's not the case..

While the applicaton produce the PNG, I can see this error message

$> xvfb-run ./bin/phantomjs --load-plugins=true test.js
Xlib: extension "RANDR" missing on display ":99".

May be it's connected ? Do you have any idea what is happening ?

r3b/phantomjs on osx

Hi there,

I have tried this version on osx 10.8.5, the build.sh works fine, and then i get dumb:
doing

bin/phantomjs --load-plugins=true

return me Error: Unknown option: load-plugins

I may have forget something

regards.

Size of virtual display and "real" size are different

Hi there!

I've tried with original PhantomJS 2.0.0 this: start virtual display with Xvfb and then run PhantomJS script into it... Script is working correct, but the screen size always is equal to 1024x768px.

Today I've found this fork and this article - http://www.ryanbridges.org/2013/05/21/putting-the-flash-back-in-phantomjs/ , tried this PhantomJS, but get same result.

page.viewportSize is not the same as a screen size for some needs...

Maybe you have some ideas to reproduce this?
Thank you!

Disable flash audio

Hi,

I'm using your fork to capture screenshots of a live stream. Is there any way to disable the audio which plays while the request is being made? As I'm capturing them at a regular interval from my machine, and I have no use for the audio, it make sense either disable or mute it in some way (while not affecting other Flash instances e.g. Youtube on my browser).

Where is Windows Versin Please

Please help us make exe for windows versions. I think it is only for Linux I need phantomjs 2.x or 1.9 with flash support in windows version. I will be pleased with you.

THanks.

Update for PhantomJS 2.x WIP

PhantomJS 2.x is currently an active work in progress in the master branch of ariya/phantomjs.

Notes:

  1. 2.x is still in development (read: not 100% stable yet)
  2. 2.x includes more modern versions of Qt, QtWebKit, and WebKit, as well as some changes to Phantom and the build process, so it may not be a totally trivial process to port these PhantomJS 1.x patches over to it

some errors occurs when i run ./build.sh

OS&Version: CentOS6.7

  • Error1: Package gstreamer-app-0.10 not found

  • Solution1:

     yum -y install 'pkgconfig(gstreamer-app-0.10)'   # works
    
  • Error2: src/qt/src/gui/kernel/qapplication.cpp:3841: undefined reference to QCoreApplicationPrivate::checkReceiverThread(QObject*)'

  • Solution2:

       Not solved and waitting for help.
    

and some other problems solved which were forgotted to record, maybe add next time.

Not picking up text in Flash from Behat / Mink

We're trying to use this fork of phantomjs to test text appearing in Flash, however its not picking it up. Screenshot is showing a blank screen though I'm told this is a known issue.

We're starting phantomjs with:
phantomjs --webdriver=8643 --load-plugins=true

Could there be something we're not doing correctly? Does the swf need to be created in a certain way?
Thanks

Project MESSAGE: Disabling video due the lack of GLib/Gio/GStreamer.

Hello,

First of all, thank you very much for this contribution.

I am trying to compile your version of PhantomJS on a Centos 5.9 server.
However, even if the process is going through without fatal errors, I can't capture screenshots of Flash pages.
I noticed during the compilation the following error:
Project MESSAGE: Disabling video due the lack of GLib/Gio/GStreamer.

Of course, the necessary GStreamer Libraries are installed on the server:

gstreamer.i386                            0.10.20-3.el5                installed
gstreamer-devel.i386                      0.10.20-3.el5                installed
gstreamer-ffmpeg.i386                     0.10.6-1.el5.rf              installed
gstreamer-plugins-bad.i386                0.10.8-5.el5.rf              installed
gstreamer-plugins-base.i386               0.10.20-3.0.1.el5_3          installed
gstreamer-plugins-ugly.i386               0.10.11-2.el5.rf             installed
gstreamer-tools.i386                      0.10.20-3.el5                installed

On the top of this, I've followed the step by step provided on your blog (http://www.ryanbridges.org/2013/05/21/putting-the-flash-back-in-phantomjs/) but still no luck.
I also tried the fix provided on Nikolay Matsievsky Blog (http://blog.webogroup.com/2013/04/how-to-setup-completely-headless.html) without any further success...

Not sure now in which direction I should give a try...
Any idea?

Compile in Windows

Hello everybody

I've been trying to build this version of Phantom for a few hours but I always run into this error:

You don't seem to have 'make' or 'gmake' in your PATH.
Cannot proceed.
./preconfig.sh: line 110: make: command not found
~/phantomjs/src/qt/src/plugins/codecs ~/phantomjs/src/qt
./preconfig.sh: line 114: make: command not found
~/phantomjs/src/qt
./build.sh: line 93: src/qt/bin/qmake: No such file or directory

Any tips on how to solve this? I've put Perl, Python, Ruby and Git on my PATH as demanded and I've installed Make as well.

Windows support

Hello,

This version should work on Windows? Because I can compile it without any problems but Flash still don't work. I need some special version of flash?

Any chance of build downloads for Windows / OSX?

Looking to get our team using Behat and part of our product is based on Flash, this looks perfect as I've already started using PhantomJS with Behat.

Is there any chance of getting build downloads for Windows? OSX would be nice too.
Many thanks
Adam

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.