I made a Browser and i need help

That could work.

You could keep 5 tags, one per web viewer textbox, and offer a List Picker for each Web Viewer to see its history of search requests on demand.

Experiment.

It's your app.