how to script the typeahead field ?

Hi,

I am trying to automate a workflow for getting the performance metrics and currently blocked on the typeahead fields where i can enter the text, but the values dont appear.

Something similar to the one attached. Any help would be highly appreciated.

I tried something like this, but it not work as expected;

document.getElementById().value=“bank”;$().set(“text\n”);

Thanks !

I’ve done something similar before and will dig out my notes - I sent keystrokes to an autocomplete field

Is the page you’re trying to test publicly accessible?

Thanks Andy that would be really helpful if you can provide some insights. Currently it is not publicly accessible.

Slide 37/38/39 of this deck should give you some ideas - Using WebPageTest - London Web Performance - Google Slides

It uses jQuery which was already on the page but native JS could be used instead