unobtainium driver providing web content access via nokogiri
Ruby HTML
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
.travis.yml
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
unobtainium-nokogiri.gemspec

README.md

unobtainium-nokogiri

This gem provides a driver implementation for unobtainium based on nokogiri.

Gem Version Build status

To use it, require it after requiring unobtainium, then create the appropriate driver:

require 'unobtainium'
require 'unobtainium-nokogiri'

include Unobtainium::World

drv = driver(:nokogiri)

# goto is provided by this gem, and wraps `open-uri`. Any URI accepted by that
# will work here.
drv.goto('http://finkhaeuser.de')

# Any other methods are delegated to nokogiri, such as e.g. `#xpath`
drv.xpath('//some/path')