i found this macro script for youtube searching
<i>
</i>//waits for page to load
await Delay(1000);
while(await IsLoading()) await Delay(1000);
//types the keyword and hit enter (13 is key code of Enter key)
await ClickByXpath(GenerateXpath("input", "type", "text"));
var randomKeyword =...