I tried to take a unique class_name which only appears after the page is fully loaded but for some other reaseon it apears before it apears on the screen
try:
WebDriverWait(self.browser, 20).until(EC.element_to_be_clickable((By.CLASS_NAME, 'selo-fechado'))
except:
pass
what else can I do in order to wait till the page is loaded except for time.sleep(4)?