Skip to content

Chrome failed to start: crashed  #258

@MAF-BAI

Description

@MAF-BAI

I am getting an error when trying to open Chrome through vba.

Environment is as follows:
References has Selenium Type Library in C:\Program Files\SeleniumBasic\Selenium64.tlb; SeleniumWrapper Type Library in C:\Program Files (x86)\SeleniumWrapper\SeleniumWrapper.tlb
Chromedriver is also in both of those locations (Selenium was installed as administrator so it is not in the user appdata folder, but in program files). Chromedriver and Chrome versions match (105)

With this code
Sub Test()
Dim bot As New WebDriver
bot.Start "chrome", "https://www.google.com/"
bot.get "/"
End Sub

I get this error in the command window: ERROR: GPU process launch failed: error_code=2 then FATAL: gpu_data_manager_impl_private.cc GPU process isn't usable. Goodbye

Followed by this in Excel:
Run-time error '-2146233079 (80131509)':
Unknown error: chrome failed to start: crashed. (chrome not reachable)
(the process started from chrome location c:\program files\google\chrome\application\chrome.exe is no longer running, so chromedriver is assuming that chrome has crashed)

I am able to launch chromedriver.exe from the directory without error. When I try to run StartChrome.vbs from the scripts folder as a test, I get an error:
Line 3
Char 1
Error: UnknownError
unknown error:Chrome failed to start: crashed with the same path as above,
at the bottom it shows
Code: A00A000D
Source: Selenium

The script runs on another machine with the same version of Chrome/ChromeDriver/Windows/Excel. I have searched for other troubleshooting steps but am at a loss. Any guidance is appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions