DZone
Web Dev Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Web Dev Zone > Migrating to Selenium 3

Migrating to Selenium 3

Selenium 3 promises to be a drop in replacement for version 2. But how well does that claim hold up in practice?

Matthew Casperson user avatar by
Matthew Casperson
·
Oct. 21, 16 · Web Dev Zone · Opinion
Like (4)
Save
Tweet
4.37K Views

Join the DZone community and get the full member experience.

Join For Free

Selenium has just released version 3. This is a major version bump from the last release of 2.53, but the Selenium developers have made assurances that anyone using the WebDriver API will be able to use version 3 as a drop-in replacement for version 2. So how do those claims hold up?

I’ve used WebDriver 2 quite extensively with the Iridium project. One thing I have learned while writing a web browser testing tool is that it pays to be up to date. New releases of browsers frequently break driver compatibility, and so it made sense to integrate to integrate Selenium 3 as soon as possible.

Iridium comes with a reasonably large test suite that has been designed to validate the basic functionality that most tests will perform on a web page. These test open pages, navigate around, click on buttons, populate text boxes and make selections from drop down lists, and they are to catch any regressions.

I’m happy to say that after upgrading to Selenium 3 (along with a few browser driver updates) I didn’t have to update even a single line of code to accommodate the new library. All the tests worked as expected, and that experience was repeated with the tests that we have written for our own internally developed web apps. It seems that Selenium 3 is indeed a drop in replacement for version 2, just as promised.

I have to congratulate the Selenium development team on a job well done, and anyone who is using the older version 2 library should definitely take a look at version 3. It is rare for a major version upgrade to be so painless.

Testing Test suite Release (agency) Drops (app) Driver (software) Integration Library app career

Published at DZone with permission of Matthew Casperson, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • SQL vs. NoSQL: Pros and Cons
  • 5 Myths of Kubernetes
  • How to Submit a Post to DZone
  • What I Miss in Java, the Perspective of a Kotlin Developer

Comments

Web Dev Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo