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

--- Comment #7 from Ċ½eljko Filipin <[email protected]> ---
Looks like this is the way to go:

curl -s -o use-node
https://repository-cloudbees.forge.cloudbees.com/distributions/ci-addons/node/use-node
NODE_VERSION=0.11.8 . ./use-node
npm install phantomjs

mkdir -p $HOME/bin

if [ ! -h $HOME/bin/phantomjs ] 
  then
    ln -Fs ${WORKSPACE}/lib/phantom/bin/phantomjs $HOME/bin/phantomjs
fi

curl -s -o use-ruby
https://repository-cloudbees.forge.cloudbees.com/distributions/ci-addons/ruby/use-ruby
RUBY_VERSION=2.0.0-p247 \
  source ./use-ruby

gem install selenium-webdriver --no-ri --no-rdoc

ruby -r selenium-webdriver -e 'browser = Selenium::WebDriver.for :phantomjs;
browser.navigate.to "https://www.google.com/";; browser.save_screenshot
"google.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