How can I launch Chrome with an unpacked extension?

前端 未结 7 997
孤街浪徒
孤街浪徒 2020-12-20 12:28

I\'m using Selenium WebDriver to test a Google Chrome extension I\'m developing. I noticed that ChromeDriver can be customised to add extensions to the instance

7条回答
  •  南方客
    南方客 (楼主)
    2020-12-20 13:09

    The unpacked extension error popped up for me and I requested for removing the restrictions in chrome which was enforced as organizational policy. Once the restrictions were removed, I am able to run the program with out any errors. ChromeBrowser-GPO-Deny - this was the one which was removed. You can check in Settings - Extensions - Check on Developer mode and see if the load unpacked extensions is checked once the restrictions are removed. You should be good then. All the above will work only when the chrome is not restricted.

提交回复
热议问题