API key used in HTML unit tests is provided via a form.

The `window.prompt()` method was deprecated.