the complex set_wait logic around implicit wait duplicates the api that already exists in the selenium webdriver gem. It should be removed.