Play macro loop via command line on ubuntu 18

What I actually need is to launch google chrome from command line and then also play a macro using a command via terminal.