What are the recommended WebDriver packages for Selenium

As of today (20th Jan 2019) there are 9 Nuget packages that match the broad description of "WebDriver for Chrome":

As of today (20th Jan 2019) there are 9 Nuget packages that match the broad description of "WebDriver for Chrome":

  • Selenium.Chrome.WebDriver (955K downloads)
  • Selenium.WebDriver.ChromeDriver (4030K downloads)
  • WebDriver.ChromeDriver.win32 (289K downloads)
  • Chromium.ChromeDriver (161M downloads)
  • AlexP.Selenium.Chrome.WebDriver (1K downloads)
  • WebDriverChromeDriver (95K downloads)
  • WebDriver.ChromeDriver (100K downloads)
  • WebDriver.ChromeDriver.win32-2.36 (<1K downloads)
  • AsyncChromeDriver.SeleniumAdapter (1K downloads)
  • AsyncChromeDriver (8K downloads)

I suspect there will be slightly fewer such packages for other browsers (FFX, Safari, IE, etc.) But I'd still be unsurprised to see that there were multiple drivers.

How do I workout which one I should be using?

  • None of them appear to be published by SeleniumHQ.
  • Selenium.WebDriver.ChromeDriver has the most downloads.
  • Chromium.ChromeDriver appears to be published by the Chrome team.
  • Selenium.Chrome.WebDriver is the most recently updated.

How do I go about chosing which one to use?

Is there an "official" Chrome Selenium plugin? (and given that the main Selenium Nuget package includes a Chrome namespace, why do I need a separate driver anyway?)

selenium.common.exceptions.SessionNotCreatedException: Message: session not created: Chrome version must be between 70 and 73 with ChromeDriver

I am trying to create a webcrawler using Selenium, but I get this error when I try to create the webdriver object.

I am trying to create a webcrawler using Selenium, but I get this error when I try to create the webdriver object.

selenium.common.exceptions.SessionNotCreatedException: Message: session not created: Chrome version must be between 70 and 73
(Driver info: chromedriver=2.45.615291 (ec3682e3c9061c10f26ea9e5cdcf3c53f3f74387),platform=Windows NT 6.1.7601 SP1 x86_64)

I downloaded the latest version of chromedriver (2.45) which requires Chrome 70-73. My current Chrome version is 68.0.3440.106 (Official Build) (64-bit), which is the latest. I tried downloading an "older" chrome version (71) and when I tried installing it, the installer indicated that I had a newer version already installed.

There doesn't seem to be any previous Chromedriver releases available for download, even though the website says there is. I couldn't find them.

I don't quite understand how version 71 is older than 68?

Is there a Chrome version newer than 68 actually available, or an older version of chromedriver i can use with Chrome 68?

Does anyone have any other suggestions?

This is the code that i'm trying to execute:

import time
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
user = 'XXXXXXX'
pwd = 'XXXXXXX'
chromedriver = "...\...\...\chromedriver.exe"
driver = webdriver.Chrome(executable_path=chromedriver) # Error occurs at this line
driver.get("http://www.facebook.com")
assert "Facebook" in driver.title
time.sleep(5) # So i can see something!
elem = driver.find_element_by_id("email")
elem.send_keys(user)
time.sleep(5) # So i can see something!
elem = driver.find_element_by_id("pass")
elem.send_keys(pwd)
time.sleep(5) # So i can see something!
elem.send_keys(Keys.RETURN)
driver.close()


How to work on Selenium LIVE Project | Selenium Projects For Beginners

How to work on Selenium LIVE Project | Selenium Projects For Beginners

🔥Intellipaat Selenium WebDriver Course: https://intellipaat.com/selenium-training/ In this selenium projects for beginners you will learn how to work on sele...

In this selenium projects for beginners you will learn how to work on selenium LIVE project step by step.

Why should you watch this Selenium tutorial?

Selenium is a powerful yet open source testing platform that is being used extensively by some of the largest corporations in the world. We are offering the top Selenium tutorial to gain knowledge in software testing. Our Selenium course has been created with extensive inputs from the industry experts so that you can learn Selenium and apply it for real world scenarios.

What Is Selenium?

What Is Selenium?

In this selenium tutorial video you will learn what is selenium ide, what is software testing and its types, various automated testing tools, components of selenium, what is maven and why do we need it. In this selenium automation testing tutorial you will also learn how to create automated tests in selenium and how to work with annotations in TestNG in detail. There is a complete selenium project as well to master the concepts taught in this tutorial.

Why should you watch this Selenium tutorial?

Selenium is a powerful yet open source testing platform that is being used extensively by some of the largest corporations in the world. We are offering the top Selenium tutorial to gain knowledge in software testing. Our Selenium course has been created with extensive inputs from the industry experts so that you can learn Selenium and apply it for real world scenarios.

Who should watch this Selenium video?

If you want to learn Selenium to become a Selenium expert then this Intellipaat Selenium tutorial is for you. The Intellipaat Selenium training video is your first step to learn Selenium. Since this Selenium tutorial video can be taken by anybody, so if you are a Software Developers, Testers, QA Engineers, System Analysts, Administrators, BI and ETL professionals then you can also watch this Selenium tutorial and enroll for Intellipaat Selenium training to take your skills to the next level.