Can you deploy Watir on Heroku to generate HTML Snapshots? If so, how?

前端 未结 3 1048
有刺的猬
有刺的猬 2020-12-30 17:52

I would like to generate HTML Snapshots using Watir, hosted on Heroku.

Google\'s Full Specification for Making AJAX

3条回答
  •  别那么骄傲
    2020-12-30 18:46

    Troelskin's answer is incorrect. There are ways to run "headless" browsers with Watir, which do not require a "full desktop environment". Having said that, I do not know which method may be appropriate on Heroku.

    Other "headless" automation options (if you are using Ruby) are Mechanize with Open-Uri, along with (optional) Nokogiri.

提交回复
热议问题