headless_chrome 1.0.21

Control Chrome programmatically
Documentation
1
2
3
4
5
6
7
8
window.onload = function() {
    var loaded = true;
};
var button = document.getElementById("incrementor");
button.onclick = function() {
    var clicked = true;
};