https://bugzilla.wikimedia.org/show_bug.cgi?id=58035

--- Comment #1 from Ċ½eljko Filipin <[email protected]> ---
This installs phantomjs in ./phantomjs-1.9.2-linux-x86_64/bin/phantomjs

curl -O
https://phantomjs.googlecode.com/files/phantomjs-1.9.2-linux-x86_64.tar.bz2
tar xvf phantomjs-1.9.2-linux-x86_64.tar.bz2

This opens the browser, opens a page and takes a screen shot

require "selenium-webdriver"
Selenium::WebDriver::PhantomJS.path =
"./phantomjs-1.9.2-linux-x86_64/bin/phantomjs"
browser = Selenium::WebDriver.for :phantomjs
browser.navigate.to "http://cloudbees.com";
browser.save_screenshot "cloudbees.png"

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to