According to me Python is better for using selenium. Here are few reason why I prefer Python for Selenium rather than using Java
- Python is simpler and more compact compared to Java
- Java uses traditional braces to start and ends blocks, whilePython uses indentation
- Java employs static typing, whilePython is dynamically typed
- Java programs tend to run slower compared toPython programs
Hope this justifies my point for using Python over Java.