Python or Java for selenium?

0 votes
Python or Java which one is better for using selenium?

What are the benefits of using either?

Please help.
Jan 9 in Selenium by Anjali
• 2,930 points
40 views

1 answer to this question.

0 votes

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.

answered Jan 9 by Nabarupa

Related Questions In Selenium

0 votes
1 answer

How to scroll the Page up or down in Selenium WebDriver? (using java)

Its pretty simple. Check out the below ...READ MORE

answered Apr 5, 2018 in Selenium by nsv999
• 5,110 points
8,539 views
0 votes
1 answer

Upgrading or Updating existing version of Selenium Java Project

I downloaded the java client driver from ...READ MORE

answered Apr 13, 2018 in Selenium by commander
54 views
0 votes
1 answer

XPath for the elements with no ID or Name in Selenium Webdriver

Use like this or similar to this: //div[@id="top-level-menu-item-3"]/div[@class="filter-label"] //div[@id="top-level-menu1"] ...READ MORE

answered Apr 17, 2018 in Selenium by Meci Matt
• 9,420 points
1,476 views
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,110 points
1,007 views
0 votes
1 answer
0 votes
1 answer

What is the role of TestNG & JUnit frameworks in Selenium?

Well TestNG and JUnit are test frameworks ...READ MORE

answered Apr 18, 2018 in Selenium by king_kenny
• 3,650 points
343 views
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
1,154 views
0 votes
1 answer
0 votes
2 answers

Unable to Click on an Element in Selenium (Python) even after finding it.

Here, I give you working script which ...READ MORE

answered Sep 19, 2018 in Selenium by Priyaj
• 56,940 points
8,882 views