Repository is archived
No commit activity in last 3 years
No release in over 3 years
The unobtainium-nokogiri gem is a nokogiri-based driver implementation for unobtainium. Unlike built-in driver implementations, it does not provide a Selenium-like API, but rather one mostly identical to plain nokogiri.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 11.3
~> 3.7
~> 0.16
>= 0.9.12, ~> 0.9

Runtime

 Project Readme

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')