'how to disable cookies using webdriver for Chrome python
I have been looking around stackoverflow and I cannot find a solution to this. The solutions I did find were apparently old.
from selenium import webdriver
import time
from selenium.webdriver.chrome.options import Options
chrome_options = Options()
driver = webdriver.Chrome(chrome_options=chrome_options)
driver.get("https://www.google.com/")
time.sleep(20)
driver.quit()
I need code to Block all cookies
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
