View All Public Notes
"Poltergeist the Capybara driver for PhantomJS nearly has what you're asking but not quite. If you're willing to fill the gap yourself you can try and hack the render binding to pass the coordinates of the element you're interested in to the setClipRect() setter which dictates the area to be captured." _Answers talks about hacking Poltergeist's javascript code that exposes Phantomjs to add Casperjs features_ ##dynamic_screen_scraping #phantomjs #casperjs #ruby #capybara #hacks #pub