mercredi 29 avril 2015

Can I run watir on Debian server in production

I have some parser controller. It using watir

class ParserController < ApplicationController
require 'open-uri'
require 'nokogiri'
require 'watir'
require 'selenium/webdriver'
def parse
 car_brands_count = CarBrand.count.to_i.to_i
 @output = Array.new
 browser = Watir::Browser.new
 browser.goto "http://www.site.ru/"
end

How rune this action with Watir in production with Debian server?

Aucun commentaire:

Enregistrer un commentaire