We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please run the code for 20 mins and the bug will pop up. I tested it on a VPS with Ubuntu Server 14.04 LTS 64-bit
const Horseman = require("node-horseman"); var browserIsReady = true; function reachPage() { var horseman = new Horseman(); console.log("Starting..."); horseman .viewport(800, 600) .open("https://www.facebook.com/bbcnews") .status() .then(function (status) { if (Number(status) != 200) { console.log("Couldn't load page, trying again..."); return horseman.close(); } }) .wait(1e4) .log("Stepping out...") // prints out the durl .wait(3e3) .finally(function() { horseman.close(); setTimeout(reachPage, 3e3); return }); } reachPage();
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Please run the code for 20 mins and the bug will pop up. I tested it on a VPS with Ubuntu Server 14.04 LTS 64-bit
The text was updated successfully, but these errors were encountered: