Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 99020

selenium chrome driver without cache

$
0
0

Maybe someone know how to surfing in Chrome without using browser cache?I run in loop get the pages in the incognito-mode and do not close the browser. But it seems it used cache, because the browser did not close.

chrome_options.add_argument("--incognito")chrome_options.add_argument("--headless")chrome_options.add_argument("--disable-extensions")chrome_options.add_argument("--disable-java")driver = webdriver.Chrome(chrome_options=chrome_options)i = 1while i < 10:    driver.get('https://selenium.com') browser.quit()

Viewing all articles
Browse latest Browse all 99020

Latest Images

Trending Articles



Latest Images