metalx1000

PhantomJS dump page content

Jun 28th, 2019
703
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var page = require('webpage').create();
  2. page.open('https://www.nasdaq.com/symbol/oild/real-time', function () {
  3.   console.log(page.content);
  4.   phantom.exit();
  5. });
Add Comment
Please, Sign In to add comment