chromium/third_party/blink/renderer/core/testing/data/ime-on-focus-on-load.html

<!DOCTYPE html>
<input type="text" id="toFocus"></input>
<script>
window.onload = function() {
    document.querySelector("#toFocus").focus();
}
</script>