[!!!][TASK] Remove last arguments of wrapClickMenuOnIcon()

Since unrelated functionality was moved to a
dedicated method, the corresponding arguments
are now removed. Therefore, the method does
now always return `string`.

Resolves: #96210
Related: #92583
Releases: main
Change-Id: I498738d37b0fcafda529c119ada7f5ea63c5d663
68 jobs for main.72472.1 in 11 minutes and 48 seconds (queued for 10 seconds)