Created
July 23, 2014 10:48
-
-
Save hallvors/be56ad9be3b56786b783 to your computer and use it in GitHub Desktop.
test slimerjs issue 194
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var page = require('webpage').create(); | |
page.onConsoleMessage = function(message, line, file){ | |
console.log(message); | |
} | |
page.open('data:text/html,<script>console.log("a", "b", "c", 100)</script><p>Hello world</p>', function(){setTimeout(phantom.exit, 1000)}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment