Is it possible to upgrade Selenium to Selenium 4?

Hi guys,
I found, that Katalon Studio uses selenium version 3.141.59, which is actually latest stable version, but there is already Selenium 4 release candidate, which has some new features I would like to use. So my question is, will you upgrade Selenium to version 4 as soon as it’s released?
If I wanted to use it right now, is it possible to upgrade Selenium manually?

Hi @peter.hevesi,

We know that Selenium 4 is in release candidate state. Honestly, we don’t know exactly the day Selenium 4 will release but the upgrade in Katalon Studio is our first prioritization in the near future plan. We are just waiting for Appium java-client to support Selenium 4 to finish our PoC package.

For now, you cannot use Selenium 4 in the latest version of Katalon Studio because some Selenium 3 APIs which is used in KS, will be replaced in Selenium 4.

1 Like

Thanks you for your response, I will then wait for it :slight_smile:

Hey @peter.hevesi

I’m glad to let you know Katalon Studio version 8.2.1.alpha upgrading to Selenium version 4.1.0 and Appium Java Client version 8.0.0-beta is now available.

Download it from our GitHub Repo. You can refer to our blog for the top features of Selenium 4 .

Happy Testing

Jass

Thanks for your reply :slight_smile:

It’s nice to see, you upgraded Selenium to Selenium 4, but now, I don’t think Selenium is good anymore.

I think you should try to use Playwright inside Katalon Studio, if you won’t to survive next decade.
Because once, more people will start to understand, that Playwright is soooo much superior to Selenium, they will go away from all Testing Tools which uses Selenium :smiley: So they will leave Katalon Studio as well !!! Just like myself, I stopped to use Katalon Studio and I am using Playwright for .NET using C# inside Visual Studio 2022 and it is soooo muuuuch better testing experience for me, then using Katalon Studio. So I just warn you :smiley:

Glad to hear you’re enjoying Playwright. We think Selenium still has a future—particularly with the enhancements in Selenium 4. We are keeping our eyes on Playwright, though.

I’m curious whether you already used C# in your team, or have you picked that specifically for Playwright. I’m curious because JavaScript seems to be the most popular Playwright language binding. We’ve experimented with the Java binding within Studio (since it matches our runtime better).

1 Like

JS and Typescript are preferred with Playwright just because Playwright it is written in Typescript.
So it will make more sense if you start to use it ‘from scratch’.
But you can use it with whatever language you feel more comfortable (python with or without pytest, java, C#)
However, using it with JS or Typescript, you may have more features (e.g. various reporters) which are not available for other bindings so before to decide, you may want to take a look at all API’s and check what is available and what not.

Hi Coty,

I wanted to follow up on this thread. Selenium 4 was officially released almost a year ago (Oct 2021) and I’m still not seeing the KSE official releases built with Selenium 4. For example, I’m running KSE 8.5.0 and in the runtime logs it states the seleniumVersion = 3.141.59

If someone from your team could review whether version 8.2.1.alpha was eventually merged in with a stable release I would appreciate that.

Yeah, you can use Playwright with many languages, one of them is c#, which is definitely the best programming language in the world (besides c++, which is also extremely good but for different purposes…).It is true, that Playwright has more features in Typescript than it has in C# in.NET, but the only reason that C# seems to have less features is that the Playwright team is very well aware of unmatched power of the .NET ecosystem, so under .Net, they didn’t have to code everything (unlike in JS), because those things were already made by others. For example there is very good free and open source testing framework for .NET called NUnit, which is meant to be used with Playwright and there are so many features there, and I also customized it a little bit easily and now I just can’t be any more happy… Sooo yes, most people uses Playwright with Javascript / Typescript, and Playwright itself has more features there, but once you look at it like I am seeing it, you see that Playwright is much better with C# :joy:
You just install some other Nuget packages you may need with it(NUnit, ImageCompare, CopySharp and so on…)
PS: I needed to code very few things myself though, but that wasn’t a problem at all… Buuut now I have almost complete control over what I code, which I love so much that I can have it the way I like!
PS2: Playwright is much much better testing framework than selenium is, even though there is Selenium 4 now… I warn you again guys, I am part of Slack community for Playwright, and everybody loves Playwright sooo much!! You should move to Playwright, if you want to be relevant even after 5-8 years from now. In about that moment I think Playwright will be most used testing framework, Selenium will be on decline… DYING!!!
And it may even happen sooner than 5-8 years from now!!!

I’d still love to hear an answer about when Katalon intends to upgrade their base Studio to Selenium 4. I ran into a specific use-case today where I’m seeing test failures only on a VM and would LOVE to use the CDP feature to debug why it occurs virtually, but never while I’m running KSE locally. Alas, Katalon doesn’t have Selenium 4 packaged in.

This is just 1 additional example of where I’ve voiced what seem like “normal” requests in a number of forums and Katalon just doesn’t seem to hear, or care.

They do care. They once tried to employ Selenium4 early this year but encountered some technical problems. See the following discussion

Selenium 3 to 4 transittion is not a simple upgrade. It involves big changes: new dependenciy to the selenium-devtools-vXX jar, and backward-incompatibility (DesiredCapability class is deprecated). I guess, these changes would require much works for Katalon dev team.

But I do not know their current plan for Selenium4 with CDP.

[Joke] I would not be surprised to hear that Katalon to release a new product line: Playwright + TestOps for Enterprise, which is payable. KS to stay with Selenium3 forever. That would not matter much because most of Katalon Studio users wont require Selenium4 features.

Thanks as always for your commentary. You spend as much time as Katalon’s own devs on these boards and you’re not even paid, so thank you again.

Great companies solve difficult problems for customers though. If I’m paying thousands of dollars per year, per person for a licensed product then I actually do expect it to maintain pace with industry standards… like Selenium 4. If we were a couple of months beyond Se4 release and it wasn’t a part of the KSE package, sure, I understand not everyone will be an early adopter. But this is 13 months past the release date from Se4. They’ve already released Selenium 4.6 by now :slight_smile: This isn’t your problem to solve, but I appreciate the perspective.

When our license is up we’ll go work with a more dynamic product like Playwright and be done with the surprising headaches from a paid product… go figure.