I know there's the option of running the spec on a headless machine but while I'm developing the specs it'd be handy to not have to switch back and forth between browser and terminal to avoid timeouts and failures. I've had a look for Chrome switches that might help and found this very helpful list but it doesn't appear to have the magic bullet either.
I've also tried
browser.execute_script('document.hidden = false'); but that had no effect.
Any help or insight would be much appreciated.