My question is very simple. I am using Selenium in Python.
Selenium's default page loading strategy is waiting until the page loaded completely. I really like that, but I want to make my selenium not to wait for the page loading Just One Time.
I know there is a way to make the selenium driver object not to wait for the page loading, Eternally with desired capabilities.
capa = DesiredCapabilities.CHROME
capa["pageLoadStrategy"] = "none"
driver = webdriver.Chrome(desired_capabilities=capa)
driver.get(URL)
But I want my driver to wait Only One Time. How can I do that? I've seen it is impossible to change the desired capabilities.
Of course, I need to use the same driver object because I have to control the window from the driver.