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 Install Google Chrome Web Browser on CentOS 8?

How to Install Google Chrome Web Browser on CentOS 8?

This tutorial explains how to install the Chrome Browser web browser on CentOS 8. Chrome is the most widely used web browser in the world.

Chrome Browser is the most widely used web browser in the world. It is fast, easy to use, and secure browser built for the modern web.

Chrome is not an open-source browser, and it is not included in the official CentOS repositories.

This tutorial explains how to install the Chrome Browser web browser on CentOS 8.

Installing Chrome Browser on CentOS 8

Follow these steps to install Chrome Browser on your CentOS 8:

  1. Open your terminal and download the latest Chrome 64-bit .rpm package with wget:

    wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
    
  2. Once the download is complete, run the following command as root or user with sudo privileges to install Chrome Browser:

    sudo dnf localinstall google-chrome-stable_current_x86_64.rpm
    

When prompted, enter your user password, and the installation will continue.

At this point, you have Chrome installed on your CentOS system.

Starting Chrome Browser

Now that Chrome Browser is installed on your CentOS system, you can launch it either from the command line by typing google-chrome & or by clicking on the Chrome icon (Activities -> Chrome Browser):

When Chrome Browser is started for the first time, it will ask you whether you want to make Chrome your default browser and to send usage statistic and crash reports to Google:

Select the checkboxes according to your preferences, and click OK to proceed.

Chrome Browser will open, and you’ll see the default welcome page.

From here, you can sign-in with your Google Account to sync your bookmarks, history, passwords, and install Chrome apps and extensions.

Updating Chrome Browser

During the package installation, the official Google repository will be added to your system. Use the following cat command to verify that the file exists:

cat /etc/yum.repos.d/google-chrome.repo
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl.google.com/linux/linux_signing_key.pub

When a new version is released, you can perform an update with dnf or through your desktop standard Software Update tool.

Conclusion

In this tutorial, we’ve shown you how to install Chrome Browser on CentOS 8 desktop systems. If you’ve previously used a different browser, like Firefox or Opera, you can import your bookmarks and settings into Chrome.

If you hit a problem or have feedback, leave a comment below.

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.