Automation Question:
Tell me why to choose Python over Java in Selenium?
Answer:
Here are some points that favor Python over Java to use with Selenium:
☛ 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
☛ 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
Previous Question | Next Question |
Tell us what is the difference between single slash (/) and a double slash ( //) in XPath? | Tell us what is the difference between @Factory and @DataProvider annotation? |