chromium/third_party/blink/web_tests/external/wpt/infrastructure/testdriver/click_child.html

<!doctype html>
<button id="button">Button</button>
<div id="log">FAIL</div>
<script>
document.getElementById("button").addEventListener("click", () =>
    document.getElementById("log").textContent = "PASS");
</script>