Automate sequence of key strokes in Mac
To do this, I created a automator workflow with a Run AppleScript object with this content:
on run {input, parameters}
tell application "Google Chrome" to activate
tell application "System Events"
keystroke "A"
keystroke "B"
keystroke "C"
end tell
return input
end run
This worked fine for me
In addition to writing your own script, Keyboard Maestro can be used to compose key sequences like this.