aanand / deadweight

NOT MAINTAINED
MIT License
1.19k stars 52 forks source link

Nokogiri selector error #11

Closed anthias closed 13 years ago

anthias commented 13 years ago

The following test produces Nokogiri selector errors using deadweight 0.2.1:

dw = Deadweight.new
dw.root = "http://seeclickint.com"  #  Integration server
dw.stylesheets = ["/stylesheets/base_packaged.css"]
dw.pages = ["/citizens"]
puts dw.run

I'm new to the tool. Is there something I'm doing wrong?

Thank you

aanand commented 13 years ago

It's possible your stylesheet contains selectors Nokogiri chokes on. There's a fork with a fix for this, but I haven't merged because it needs tests written for it and I sadly don't have the time these days. Do try it out and see if it works for you.

anthias commented 13 years ago

Yep. This fork worked and helped to show me what it was failing on. Thanks!