I would like to run a local javascript file in chrome console but do not want to copy and paste the code. I know there is a command I can run from terminal to open the file in a new chrome window/tab but cannot recall it nor find example of it on-line.
What command can I call from the terminal to open a .js file in a new chrome tab where I can then run it in console?