Upgrade to Selenium WebDriver 2.53.0 and ChromeDriver 2.21

Selenium WebDriver 2.53.0 is available
Selenium WebDriver 2.53.0 is available

Upgrade to Selenium WebDriver 2.53.0

I’ve just updated my online Selenium 2 WebDriver with Java course to use version 2.53.0 of Selenium WebDriver. Change Log

I mainly update due to browser changes but this update required a code fix.

Selenium WebDriver 2.53.0

Minor code fix in the pom.xml to add a dependency on the new Htmlunit driver project.

github.com/SeleniumHQ/htmlunit-driver

The package structure in the htmlunit driver was left the same so all I had to amend was the pom file

<webdriver.version>2.53.0</webdriver.version>
<junit.version>4.11</junit.version>
<hamcrest.version>1.3</hamcrest.version>
<htmlunitdriver.version>2.20</htmlunitdriver.version>

And the include for HTMLUnit became:

<!-- from WebDriver 2.53.0 HTMLUnit is no longer distributed with Selenium WebDriver -->
<!-- https://github.com/SeleniumHQ/htmlunit-driver -->
<!-- need to bring in the htmlunit driver on its own -->
<!-- https://github.com/SeleniumHQ/selenium/blob/master/java/CHANGELOG -->
<dependency>
    <groupId>org.seleniumhq.selenium</groupId>
    <artifactId>htmlunit-driver</artifactId>
    <version>${htmlunitdriver.version}</version>
</dependency>

ChromeDriver 2.21

I also had to update my build machine to use 2.21 ChromeDriver.

When I did this I discovered that this version has fixed some Cookie bugs when working against Google Chrome.

code.google.com/p/selenium/issues/detail?id=7499

So I amended my tests to cater for this as well.

I’ve uploaded the code to my online training course existing students can download the amended code from the course materials section.

This entry was posted in Selenium Simplified Blog, Training Courses, WebDriver. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *