Chapter 4

  1. Answer: 2.
  2. Answer: 2.
  3. Answer: It will not throw any exception, instead it will return 0 when elements are not found, since it's a collection list.
  4. Answer: Implicit wait is applied globally to all the elements throughout the execution, while explicit wait can be applied to a specific web element.

Get Learning Selenium Testing Tools - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.