Skip to content
CodeKruPro

WebDriverWait defaults in Selenium Python

QuizMediumPython onlyAsked in: Accenture, BrowserStack, Capgemini, Cognizant, Infosys, TCS, Wipro

You write WebDriverWait(driver, 10) and nothing else. How does it poll and what does it ignore?

  • It polls every 0.5 seconds and ignores NoSuchElementException between polls
  • It polls every second and ignores every exception
  • It checks once after 10 seconds
  • It also sets the implicit wait to 10 seconds

This question is part of Pro+

Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.

See Pro+

Already have Pro+? Sign in