I use implicit waits in tests, but there is a problem. There are a lot of frames on my project that do not have time to load. As a result, the element is loaded, but the frame is not. Help solve the problem. At the start, I use time.sleep()
, but this does not solve my problem.
Code trials:
import time
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
driver = webdriver.Chrome(ChromeDriverManager().install())
driver.implicitly_wait(40)