define selenium firefox presence_of_element_located by class code example Example: python selenium implicit wait val = 20 # in seconds driver.implicitly_wait(val)