Sha256: bf68aa6410bb62b8b74777e3331f69e77a40c022415c34063ecd435040b744bf

Contents?: true

Size: 658 Bytes

Versions: 1

Compression:

Stored size: 658 Bytes

Contents

PhantomRubyBrowser
===============

Wraps PhantomJS headless browser into Ruby code and provides basic DOM operations like click and get the content.

**Under development (October 2014)**

Example
-------
E.g. print DOM of javascript rendered page
```
browser = PhantomRubyBrowser.new("http://google.com/analytics")
puts browser.content
```

How does it work
----------------
 * PhantomJS binary is provided by https://github.com/colszowka/phantomjs-gem
 * Ruby command is translated into javascript steps and passed to PhantomJS
 * Output is returned

License
-------
Released under [MIT license](https://github.com/aufi/photo_geoloader/blob/master/LICENSE)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phantom-ruby-browser-0.0.1 README.md