DZone
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
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
  1. DZone
  2. Culture and Methodologies
  3. Career Development
  4. 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 · Opinion
Like (4)
Save
Tweet
Share
4.53K 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

  • Top 10 Best Practices for Scaling Your Application: Expert Tips for Optimizing Performance and Ensuring Reliability
  • The Importance of Delegation in Management Teams
  • Real-Time Stream Processing With Hazelcast and StreamNative
  • Java Development Trends 2023

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • 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: