Implements webdriver timeout related functionality and adds intelligent handling for implicit waits