Which Selenium WebDriver Language Binding is the Best?

Test Scripts are better with scripting languages, such as Ruby.

Zhimin Zhan

--

Selenium WebDriver comes with 5 official programming languages: Ruby, Java, Python, JavaScript, and C#. The question comes: which one is best?

Unfortunately, for most software projects, in reality, the answer commonly is whichever language your tech lead/test architect knows. It is surprising (and depressing) to see how limited this generation of programmers have in terms of programming languages. If a tester/programmer is only comfortable with one programming language, that’s a bit of concern. Please read the classic (and must-have) book: The Pragmatic Programmer From Journeyman to Master by Andrew Hunt and David Thomas.

My answer is Ruby. My love for the Ruby language started in 2006 after I have programmed Java for 9 years. Programmers tend to be fixated/biased on a preferred language. I am probably more objective than most, as My Selenium Recipes Book series covers all these five languages.

My opinion is based on experiences from developing (more importantly, maintaining) thousands of test scripts…

--

--

Zhimin Zhan

Test automation & CT coach, author, speaker and award-winning software developer. Help teams succeed with Agile/DevOps by implementing real Continuous Testing.