webdriver/#execute-async-script
  // [2]: https://www.w3.org/TR/webdriver/#dfn-execute-a-function-body
  step_timeout(() => {
    let type = params.get("type");
    window[type]("this user prompt should be dismissed");
    done();
  }, params.has("wait") ? 1000 : 0);
</script>
