Unable to open chrome browser using Selenium Webdriver. Loading unpacked extensions are disabled by administrator

前端 未结 7 1537
名媛妹妹
名媛妹妹 2021-01-01 05:50

I am automating my application using Selenium Webdriver, C#, Visual Studio and Chrome browser.

I am getting below popup when selenium tried to open the chrome browse

7条回答
  •  北海茫月
    2021-01-01 06:13

    The part of the stack trace

      System.InvalidOperationException: unknown error: cannot get automation extension from unknown error: page could not be found: chrome-extension://aapnijgdinlhnhlmodcfapnahmbfebeb/_generated_background_page.html
    

    is because of 3rd party extensions installed on Chrome. Check if you have any extensions installed, like Add Blockers or something.

    I encountered the same problem and was able to solve them by deleting the extensions installed in Chrome. If you have any extensions installed in chrome I am pretty sure removing them should solve the issue.

提交回复
热议问题