Listen for when the server and selenium starts instead of hardcoded sleeps