chromium/third_party/blink/web_tests/http/tests/html/resources/target.html

<!DOCTYPE html>
<div>target</div>
<script>
  window.addEventListener('message', async event => {
    if (event.data === 'find') {
      testRunner.findString('target', []);
    }
  });
</script>