What are the main disadvantages of using implicit wait in Selenium?

0 votes
What are the main disadvantages of using implicit wait in Selenium?
May 31, 2019 in Selenium by Aaron
944 views

1 answer to this question.

0 votes

Hey Aaron, the main disadvantage of implicit wait is that it slows down test performance. The implicit wait will tell to the web driver to wait for certain amount of time before it throws a "No Such Element Exception". The default setting is 0. Once we set the time, web driver will wait for that time before throwing an exception. So this slows down the testing of your automation script, as the driver has to wait for specific amount of time

Now another disadvantage of implicit wait is that, let's say, you set the waiting limit to be 10 seconds, and the elements appear in the DOM in 11 seconds, your tests will be failed because you told it to wait a maximum of 10 seconds. 

answered May 31, 2019 by Abha
• 27,910 points

Related Questions In Selenium

0 votes
1 answer

What are the main functions of Xpath locator in Selenium?

Hi Danish, for handling complex and dynamic ...READ MORE

answered May 9, 2019 in Selenium by Anvi
• 14,050 points
137 views
0 votes
1 answer
0 votes
1 answer

What are the types of Assertion in Selenium?

In selenium Assertion is nothing but a ...READ MORE

answered Feb 11, 2019 in Selenium by Fred
718 views
0 votes
2 answers
0 votes
1 answer

Impilicit wait vs Explicit wait vs Fluent wait

Implicit wait: Your telling the WebDriver the ...READ MORE

answered Apr 13, 2018 in Selenium by king_kenny
• 3,710 points
1,533 views
0 votes
1 answer

Implicit wait & Explicit wait in selenium WebDriver

Implicit Wait:  While loading a web page in ...READ MORE

answered May 24, 2018 in Selenium by Meci Matt
• 9,460 points
461 views
+1 vote
3 answers

Need to wait until page is completely loaded - Selenium WebDriver

You can try something like -  new WebDriverWait(firefoxDriver, ...READ MORE

answered Dec 20, 2019 in Selenium by Robin
18,426 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,510 points
2,926 views
0 votes
1 answer

What are the main types of regex quantifiers used in Selenium Webdriver?

Hi Andrew, some of the regex quantifiers ...READ MORE

answered Jun 26, 2019 in Selenium by Abha
• 27,910 points
1,170 views
0 votes
1 answer

What are the drawbacks of using thread.sleep() command in Selenium Webdriver?

Hey Eric, some of the drawbacks of ...READ MORE

answered Jul 5, 2019 in Selenium by Abha
• 27,910 points
1,761 views