Automation Question:

Tell me why to choose Python over Java in Selenium?

Automation Interview Question
Automation Interview Question

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


Previous QuestionNext 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?