puppeteer/third_party/phantomjs/test/www/regression/pjs-13551/child1a.html

13 lines
313 B
HTML
Raw Normal View History

2017-05-11 07:06:41 +00:00
<!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>