Upgrade selenium to latest version 2.40.0.