headless_chrome_fork 1.0.2

Control Chrome programatically
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;
};