Python/selenium: Updated for version 2.40.0