![]() Self.chrome_options.add_argument("-disable-gpu") # Disables "Lost UI Shared Context GPU Error on Windows" Self.chrome_options.add_argument("-headless") ![]() # Instantiate a chrome options object so you can set the size and headless preference Question: Do I have to actually install the full-blown browser in addition to the chromedriver, or is this simply just not finding the chromedriver.exe in my Python code (included below for full disclosure): def _init_(self, username, password, environment='cert'): When I attempt to start my Windows Service that utilizes the latest Selenium, I get the following error: Exception occurred: Failed initializing web driver: Message: unknown error: cannot find Chrome binary ![]() I have added to my environment PATH the full path as "D:\Apps\chromedriver.exe". I downloaded the correct "chromedriver.exe" and placed it in "D:\Apps\chromedriver.exe". On Windows Server 2016 WITHOUT Chrome Browser actually installed. I've tried to search, but haven't found a definitive answer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |