Automaton routines for controlling chrome.