Undetected Chromedriver is not applying my options. The windows size is not altered and the extension is not loaded. Same problem on Linux and Windows.
from webdriver_manager.chrome import ChromeDriverManager
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
import undetected_chromedriver as uc
options = uc.ChromeOptions()
options.add_extension(proxies_extension)
options.add_argument("--window-size=500,500")
driver = uc.Chrome(service=Service(ChromeDriverManager().install()), options=options)
It works perfectly when I substitute the above for options = webdriver.ChromeOptions()
and driver = webdriver.Chrome(...
What could I possibly be doing wrong? Thanks in advance.