title: Rails PhantomJS for scraping
body: <p>I am new to rails and have never use angular js. I want to extract price and seller name from this link <a href="https://paytm.com/shop/p/gionee-e7-mini-black-MOBGIONEE-E7-MIHAPP44414CBBDB36C?psearch=organic%7Cundefined%7Cgionee%20e7%7Cgrid" rel="nofollow">link</a></p>
  
  <pre><code>module HomesHelper
  require 'selenium-webdriver'
  require 'mechanize'
  require 'nokogiri'
  require 'phantomjs'
  require 'watir'
  
  b = Watir::Browser.new(:phantomjs)
  
  b.goto url
  doc = Nokogiri::HTML(b.html)    
  </code></pre>