Is there an error in this line? The following words appear in red, executable_path, options, and when converting the code to an exe file, an error appeared in the same line
self.driver = webdriver.Chrome(executable_path="D:\driver\chromedriver.exe", options=chrome_options)