mirror of https://github.com/vitalif/phantomjs
1a9c28af62
if --option script arg had no arg after it (or had another --option type arg), args.script would be None and would insert None after --option |
||
---|---|---|
.. | ||
resources | ||
tools | ||
INSTALL | ||
LICENSE | ||
README | ||
csconverter.py | ||
networkaccessmanager.py | ||
phantom.py | ||
pyphantomjs.py | ||
resources.py | ||
resources.qrc | ||
utils.py | ||
webpage.py |
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