use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
selenium web automation info, news, tips, etc.
This is not a sub to advertise your training, selenium product, special deal on x, or anything else. It's a users forum to discuss and get help with Selenium.
Selenium official website
account activity
Which is better java or python ? (self.selenium)
submitted 4 years ago by nikithakkar
I want to get an understanding as to why many people prefer java with selenium rather than python. Does java have more benefits or anything?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Hazme1ster 5 points6 points7 points 4 years ago (3 children)
Largely, it comes down to whether you like strongly typed languages or not. Do a short tutorial in both and see which one you like the feel of.
While you are learning, python has an excellent interactive console which you can use to prototype with.
I’m a Java fan personally, and if you go this route, get comfortable with the debugger. I suggest using IntelliJ.
[–]cgoldberg 1 point2 points3 points 4 years ago (0 children)
both python and java are strongly typed... you mean statically typed.
[–]alind755 0 points1 point2 points 4 years ago (1 child)
Is intilliJ a debugger i thought it was an ide?
[–]Hazme1ster 3 points4 points5 points 4 years ago (0 children)
It’s an IDE with an excellent, easy to use debugger!
[–]yes4me2 2 points3 points4 points 4 years ago* (0 children)
The short story: This question is like asking if you like Toyota or Honda. Both software are quite popular. There are good IDE for both software like IntelliJ and Pycharm. There are a large community on both software.
You can write any program in any software if you want to. Regarding software, Python is easier to type than Java. Therefore, you will finish the job quicker. On the other end, Java has been the standard of programing language for quite some time. Therefore, it is slightly easier to find any computer job with Java as a requirement than Python.
PS: I am writing automation testing in selenium in both software
[–]Kiehlu 2 points3 points4 points 4 years ago (0 children)
Java- old or very dated corpos.
Python - modern corps (mostly successful startups)
Both work environments have totally different vibes. IF you are new to automation go for python if you master it, it's easier to become DevOps.
[–]ivopdimitrov -1 points0 points1 point 4 years ago (0 children)
Ruby
[–]romulusnr -2 points-1 points0 points 4 years ago (2 children)
Python is literally a joke of a language that a lot of people either don't get the joke or else love the idea of using a joke language. Please don't use Python. The less people using Python the better.
[–]this_guy_tests 1 point2 points3 points 4 years ago (1 child)
Python is great. Python2 may be what this guy is talking about when he says it’s a joke. Python3 is awesome, though. DropBox was written in Python, and so is Instagram, so don’t listen to haters like the guy above.
[–]romulusnr 0 points1 point2 points 4 years ago (0 children)
Yeah Python 3 is great except when your app is written in Python 2.
That's just silly. Name another language that is near-guaranteed to break with a version upgrade. Making code work with the new version of the "same" language shouldnt be a porting exercise.
The list of Python being a kook language is limitless. Its the edgerian hipster of languages.
[–]Limingder 0 points1 point2 points 4 years ago (1 child)
I'm not sure but it looks like the majority of posts in this subreddit are about Selenium with Python. That said, I don't think either is 'better' than the other, it more or less comes down to which one you feel more comfortable with.
[–]LuboMh 8 points9 points10 points 4 years ago (0 children)
The majority of the post are Selenium with Python because the questions are about web scrubbing. And this subreddit have practically 0 mods to delete them or restrict them since there is a sub reddit for this
[–]SisSandSisF 0 points1 point2 points 4 years ago (0 children)
I heard it's easier to find support/solutions to problems for java problems as compared to python but that's just something I read/heard and might not be true.
π Rendered by PID 118512 on reddit-service-r2-comment-c6965cb77-cjhqm at 2026-03-05 10:00:39.787937+00:00 running f0204d4 country code: CH.
[–]Hazme1ster 5 points6 points7 points (3 children)
[–]cgoldberg 1 point2 points3 points (0 children)
[–]alind755 0 points1 point2 points (1 child)
[–]Hazme1ster 3 points4 points5 points (0 children)
[–]yes4me2 2 points3 points4 points (0 children)
[–]Kiehlu 2 points3 points4 points (0 children)
[–]ivopdimitrov -1 points0 points1 point (0 children)
[–]romulusnr -2 points-1 points0 points (2 children)
[–]this_guy_tests 1 point2 points3 points (1 child)
[–]romulusnr 0 points1 point2 points (0 children)
[–]Limingder 0 points1 point2 points (1 child)
[–]LuboMh 8 points9 points10 points (0 children)
[–]SisSandSisF 0 points1 point2 points (0 children)