Improve selenium install script by waiting for next page to load.