updated test to function for both waitr and selenium webdrivers