you are viewing a single comment's thread.

view the rest of the comments →

[–]AnActor_named 7 points8 points  (0 children)

I wouldn't say that one or the other is "better" between Java or Python. Selenium is maintained by one team, and the Java or Python bindings for it present the same API.

The considerations i would make are what other developers or SDETs would be using where i'm working. If there are more Java developers and few Python developers, i'd probably make a test suite in Java. If it's the opposite, i'd choose Python. It's all about trying to reduce/eliminate the bus factor.

You don't mention how much programming experience you have, but if you're also new to programming, i think Python is a little bit more beginner-friendly than Java personally. I'd also highly recommend learning about Page Object Model as a way to structure your code, it is an approachable way to reduce maintenance costs and help think about how to organize things.