Public Notes by chase_ats Tagged #%2Aresearch
Notes publicly shared by our members.
49 commits 2013-10-18 Active-ish 3 watchers; 35 stars; 20 forks "Ruby wrapper for phantomjs" Not sure how much of a wrapper this really is vs just sort of having to tell Ruby to run PhantomJS scripts and getting returns? Also, there is no way right now to add cli options aka the bread and butter I'd need, proxy, user agent, etc, support. Though perhaps things like user agent can be set later on, I really don't think proxies can. I could edit the code myself, of course. #$kippt #dev #phantomjs #ruby #gems #*research #pub
15 commits 2012-06-30 Dead - by same developer as the previous phantomjs.rb gem which is newer and more popular. "A real headless "browser." It uses phantomjs and provides an API like a real browser does. Much like poltergeist but decoupled from capybara. At the heart of phantom-menace is a run loop inside the phantomjs script that makes it synchronous. It is perfect for scraping or doing any browser related tasks." Could look through the code and edit it to accommodate all the changes in the past three years (especially how much PhantomJS has matured), along with other things. Or just look through it for ideas, etc. #$kippt #dev #phantomjs #ruby #gems #*research #pub
42 commits 2013-02-19 Dead - might be pointless "phantomjs webwalk with ruby" Well there's a phantomjs webdriver for Watir while this is using Selenium. Probably made before the official PhantomJS Watir webdriver was released. At best can be used to look through #$kippt #dev #phantomjs #ruby #gems #*research #pub
11 commits 2014-10-09 Dead Technically this is what I was looking for. Wrapping Ruby methods around PhantomJS code (aka JS code). But this gem/library/code only got so far as a few commands. Good for looking at, at least. And this might be what will have me realize I should just use CasperJS for the crawling. #$kippt #dev #phantomjs #ruby #gems #*research #pub
6 commits 2013-09-16 Dead "An interface with PhantomJS for Ruby." Need a name for this type of library/code/gem. Ruby is used to call a PhantomJS command. And you get the return. This one allows you to set CLI options though, which is good. #$kippt #dev #phantomjs #ruby #gems #*research #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