Changed to run selenium in the background.