phantomjs/python
IceArmy 65563ca89d - Automatically convert Qt types by using api 2
* Convert all QString and QVariant types
* Replaced all references to QString with Python str object

- Fixed bug where phantom.version didn't work
- Don't cd to scripts directory anymore (but loadScript still loads scripts from directory relative to it)
- clipRect.setter and viewportSize.setter both have improved system now.
* if you miss or neglect to specify an attritube (width, height, etc), there will no longer be an exception. it will be handled gracefully, and whatever you didn't specify won't be changed
* if you enter a negative value on any of them, it'll be reset to 0 (except for phantom.clipRect top and left) and you won't loose your attempted changes

- Cleaned up Webpage's javaScriptConsoleMessage print JavaScript (sourceID)
- Allow viewportSize to be set to 0 (default)
- General cleanup
2011-04-27 16:36:45 -07:00
..
resources Added Python PhantomJS project 2011-03-15 22:18:01 -07:00
tools Regenerated resources, and compressed them 2011-04-01 16:48:56 -07:00
INSTALL Created README and INSTALL files 2011-04-12 01:37:09 -07:00
LICENSE Added Python PhantomJS project 2011-03-15 22:18:01 -07:00
README Created README and INSTALL files 2011-04-12 01:37:09 -07:00
csconverter.py - Automatically convert Qt types by using api 2 2011-04-27 16:36:45 -07:00
networkaccessmanager.py - Automatically convert Qt types by using api 2 2011-04-27 16:36:45 -07:00
phantom.py - Automatically convert Qt types by using api 2 2011-04-27 16:36:45 -07:00
pyphantomjs.py - Automatically convert Qt types by using api 2 2011-04-27 16:36:45 -07:00
resources.py Regenerated resources, and compressed them 2011-04-01 16:48:56 -07:00
resources.qrc Added Python PhantomJS project 2011-03-15 22:18:01 -07:00
utils.py Refactor main file 2011-04-27 02:45:41 -07:00
webpage.py - Automatically convert Qt types by using api 2 2011-04-27 16:36:45 -07:00

README

DESCRIPTION
----------------
PyPhantomJS is a minimalistic, headless, WebKit-based, JavaScript-driven tool, based on the PhantomJS project.

It has native support for different web technologies: DOM handling, CSS selector, JSON, Canvas, SVG, and of course JavaScript.

See the quick start guide and more advanced examples which show various PhantomJS scripts, covering:
    * http://code.google.com/p/phantomjs/wiki/QuickStart
    * http://code.google.com/p/phantomjs/wiki/ServiceIntegration

    * running regression tests from command line
    * getting driving direction
    * showing weather forecast conditions
    * finding pizza in New York
    * looking up approximate location based on IP address
    * pulling the list of seasonal food
    * producing PDF version of a Wikipedia article
    * rasterizing SVG to image

PyPhantomJS is written in PyQt4 and Python. It runs on Linux, Windows, and Mac OS X.
Refer to the INSTALL file or Wiki links below for more information.
    * http://code.google.com/p/phantomjs/w/list
    * http://dev.umaclan.com/projects/pyphantomjs/wiki

Do not forget to consult the concise API Reference.
    * http://dev.umaclan.com/projects/pyphantomjs/wiki/Api_reference
    * http://code.google.com/p/phantomjs/wiki/Interface

If you want to contribute, please read the Contribution Guide.
    * http://code.google.com/p/phantomjs/wiki/ContributionGuide
    * http://dev.umaclan.com/projects/pyphantomjs/wiki/Giving_back