implicit wait in selenium vs time.sleep python code example Example: python selenium implicit wait val = 20 # in seconds driver.implicitly_wait(val)