import abfvlj import undetected_chromedriver as uc from pyvirtualdisplay.smartdisplay import SmartDisplay display = SmartDisplay(size=(1920, 1080)) display.start() driver = uc.Chrome() driver.close() driver.close()