Selenium Crashing: Chrome automation extension has crashed

后端 未结 10 1385
花落未央
花落未央 2020-12-29 22:05

I am using Selenium web drivers, and today, for no apparant reason I started getting an error with the message\"Chrome Automation Extension has crashed. Click this balloon

相关标签:
10条回答
  • 2020-12-29 22:31

    In my case I have to run it under Admin, I fixed it by updating .NET framework. You can update this in Windows Update. I updated every item that is related to .NET framework, including crucial ones and optional ones.

    Here are two items I updated:

    2018-01 Preview of Quality Rollup for .NET framework (KB4057272)

    .NET framework 4.7.1 (KB4033369)

    Hope this helps

    Edit: I run Win 10 with chromedriver 2.34 and Chrome v64.0.3282.140(64-bit)

    0 讨论(0)
  • 2020-12-29 22:32

    I have the same issue but my situation is I tried to open visual studio with different profile.When i am opening visual studio with default profile its working fine.So i guess its profile issue.

    0 讨论(0)
  • 2020-12-29 22:36

    My problem was that my Windows temp folder was on a drive (D) that is not my primary Windows drive (C) and that I had also mapped that drive to a sub-folder of C.

    1. I went into Disk Management
    2. Right-clicked my secondary drive
    3. Selected "Change drive letter and paths"
    4. Removed the entry where I had mounted the drive as a folder
    5. Opened my Environment Settings
    6. Changed my TEMP and TMP entries from "C:\Temp" (the path where my 2nd drive was mounted) to "D:\"
    7. Restarted my computer

    Note that step #4 was important. The plugin would still crash if this was present.

    0 讨论(0)
  • 2020-12-29 22:37

    I had the same issue, using Python with Selenium

    options = webdriver.ChromeOptions();
    options.add_argument("--no-sandbox")
    driver = webdriver.Chrome(options=options,executable_path="../drivers/chromedriver.exe")
    

    The above piece of code resolved my issue

    0 讨论(0)
提交回复
热议问题