best wait??
To answer which wait to use will be very specific because the answer may change depending on the Web-element you are focusing, Platform and many more.
According to me, Best wait is Fluent Wait because
- It works as per customized condition required at run time.
- It gives an option to user to change poll time i.e. At which frequency Dom is to be polled for checking element presence.
- It also gives option to ignore any specific exception while searching which may not be related to search but hinder our search resulting in exception or unoptimized search.
- Provides better support with JavaScript elements which are attached to DOM but are invisible.
- Provides better support to Ajax applications​ as it has option to ignore specific exceptions during element search.