Chromix is a command-line and scripting utility for controlling Google chrome. It can be used, amongst other things, to create, switch, focus, reload and remove tabs.
A detailed explanation and instructions are available on the project home page. The source code is available on GitHub.