Public Notes by chase_ats Tagged #casperjs

Notes publicly shared by our members.
"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
3 commits 2013-08-13 Some of the info is in another language #$kippt #dev #phantomjs #ruby #gems #*research #casperjs #pub
3 commits 2015-04-25 Uhm. Maybe this can help? Can't fully use this, it isn't a gem even, but for ideas. #$kippt #dev #phantomjs #ruby #*research #casperjs #pub
7 commits 2013-05-20 This is useful for sure as a concept and working gem if using CasperJS. As this still has you using CasperJS, but just having Ruby send the JS scripts and getting the output back. However it hasn't been touched in 2 years and there is an issue by someone saying it doesn't work :( Description: "A simplistic, opinionated Ruby runner for CasperJS projects. Designed to hand JSON from the last line of STDOUT back to the user. Maybe someone else will find it useful, but I doubt it." #$kippt #dev #phantomjs #ruby #gems #*research #casperjs #pub