Hey boy, are you The Act of Sending Keystrokes to Chrome In A Headless X Display? Because you're an obscure set of impossible to debug commands lurking in the basement of one random chromium bugtracker from 2014

I'm but a simple caveman, but the syntax for "send a keystroke directly to a Chromium instance in an X display" should probably not be DISPLAY=:1 xdotool search --class Chrome key --window %@ 'G', which actually isn't working in the script because of a layer of abstraction

Thankfully, once it works, it will save me years of time, so I have that going for me.