0

Is it possible to do following operation using javascript or python?

Enter this in url box. chrome://settings/cookies

In cookies and other site data -> General settings -> Allow all cookies

Akash
  • 67
  • 1
  • 5

1 Answers1

0
Ypu can do something like this. Just need to find out exact xapth element.
from selenium import webdriver
import time
driver = webdriver.Chrome(executable_path='C:\\temp\\chromedriver.exe')
driver.get('chrome://settings/cookies')
time.sleep(3)
driver.find_element_by_xpath("<xpath locator>").click()
  • I am not asking about using selenium chrome driver. I have asked for normal chrome browser. – Akash Jun 02 '21 at 07:48