Member-only story

Why are you writing Selenium automated tests in Javascript?

Alex Siminiuc
2 min readJun 6, 2021

--

Photo by Greg Rakozy on Unsplash

As a continuation of the article on the reasons of using Java for Selenium automated tests, let’s try to answer a similar question for Javascript.

Why are you using Javascript for writing Selenium tests?

Before reading more, think for a few minutes how would you answer this question in an interview.

Javascript is a great choice as programming language for automation projects.

It is ranked on 2nd position in the list of most loved programming languages in 2020 (as per the 2020 Stack Overflow survey).

Actually, Typescript is on 2nd position (Typescript = static typed Javascript). Javascript is on 10th position.

Javascript is much more flexible than Java and C#.

Javascript can be used for front end and back end development (Node.JS is basically Javascript for back end apps).

Any application that can be written in JavaScript, will eventually be written in JavaScript.

Atwood’s Law

The Javascript ecosystem is probably the most evolving with lots of libraries added all the time. React, Angular, Vue.js are all about Javascript.

--

--

Alex Siminiuc
Alex Siminiuc

No responses yet