title: How to select html elements using jQuery in Phantomjs?
body: <p>I am going to scrape some contents from a website that use javascript to load dynamic content. Before, I have used <strong>request</strong> and <strong>cheerio</strong> to scrape and they worked just fine. But I just find out that <strong>request</strong> and <strong>cheerio</strong> cannot  scrape dynamic content. After do a research, I found <strong>phantomjs</strong> that can get all the content after the page has loaded. I have a problem with it now, I cannot use <strong>jQuery selector</strong> like I used to use in <strong>cheerio</strong>. This is my sample code but the selector is return nothing.</p>
  
  <pre><code>var page = require('webpage').create();
  var url = 'http://angkorauto.com/vehicle';
  page.open(url, function (status) {
      if (status !== 'success') {
          console.log('Unable to load the address!');
          phantom.exit();
      } else {
          window.setTimeout(function () {
              // console.log(page.content);
              page.includeJs('https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js', function(){
  
                  page.evaluate(function(){
                      console.log($('.divTitle').find('a').attr('href'));
                  });
              });
  
              phantom.exit();
          }, 1500);
      }
  });
  </code></pre>
  
  <p>Could you help me with this problem? I really get stuck now.</p>
  
  <p>Thanks for ur time to help.</p>