Loop driver.get URL (webdriver python)
<p>How can i loop a URL infinitely in Python Selenium WebDriver? I have tried time.sleep driver.refresh() but it is not very efficient.  </p>

<pre><code>    from selenium import webdriver
    from selenium.webdriver.support.ui import WebDriverWait
    from selenium.webdriver.support import expected_conditions as EC
    from selenium.common.exceptions import TimeoutException
    import os
    import time

    chromedriver = "chromedriver.exe"

    driver = webdriver.Chrome()
    driver.get("http://www.example.com/load")
</code></pre>

<pre><code>from selenium import webdriver


driver = webdriver.Chrome()
driver.maximize_window()
print "To quit the program, please kill the program or close browser"
while True:
    driver.get("http://www.bbc.com/")
</code></pre>

<p>This will help to solve your problem</p>

python selenium selenium-webdriver webdriver