Updating selenium version to 2.40.0 and phantomjsdriver to 1.1.0