puppeteer/third_party/phantomjs/test/www/regression/pjs-13551/child1a.html
2017-05-11 00:06:41 -07:00

13 lines
313 B
HTML

<!doctype html>
<meta charset="utf-8">
<script>
function execute() {
window.top.postMessage("execute", "*");
}
window.onload = function () {
document.getElementById("execute").onclick = execute;
window.callPhantom(1);
}
</script>
<button id="execute">Execute test</button>