Encountering "loading of unpacked extensions is disabled by the administrator"

When I click on ‘Start’ in Katalon Object Spy I get an error which says ‘loading of unpacked extensions is disabled by the administrator’ and the ChromeDriver fails to launch.

I am using company owned system. I don’t have full rights. Can somebody suggets, what I need to change for this to work?

Screen Shot 2018-03-20 at 5.12.42 PM.png

1 Like

Please try changing location of your chrome setup to some other drive in which you have read+write access.

I also work in a locked down environment and receiving the same error when selecting “Record Web” in Katalon Studio 5.3.1. Katalon Automation Recorder v3.4.11 is installed for Chrome 65.

The documentation implies to me that Katalon Automation Recorder must be installed separately.

Is there a way to avoid using this ‘unpacked extension’? If there is not, in my current security environment, I will never be able to record, or apparently, test against Chrome.

1 Like

What you said is correct . This update was informative. Also trying to change chrome setup won’t work if it comes with OS provided by company. We tried the same with no success.

when you work in locked down environment there are lots of restrictions. I’m new to Katalon and since this was posted almost 10 months back hope there is a way in Katalon 5.10 version.

Is there any news on this problem? I am still getting this on version 6.1.5 of Katalon.

I’m getting this issue for last couple of weeks, tried with different versions of Katalon, but no hope.

Is anyone got an update for this issue?

Our Company shares a similar fate.

We wrote an bug-ticket on Github:

Current Result: Katalon Studio v7.4.0 can’t execute chrome extensions in Google Chrome v83, when there is an active whitelist. You need to wait for an newer Version which supports it.

Cause: chrome extensions are loaded local from a folder (unpacked).
In comparison the Firefox extension is working (packed and signed).

I would recommend to leave this thread as it is and write an comment on the bug-ticket above too.
That should increase the significance of this error better an should lead to an accelerated resolution.

We are facing the similar issue with Katalon Studio 8.0.0 and Chrome V89 in restricted environment. Is there any workaround now?

Ask your Manager, or Supervisor, for an external drive and have your Security Analyst allow you to use a USB port to attach the drive? (I assume your USB ports are secured as well.) This is not the best method as you could lose everything with a simple drive error. Or, even better, ask your Manager, or Supervisor, for a location on the network to install and save your project files in which you can be given read and write permission and which is also backed up (nightly or weekly). If your Manager, or Supervisor, cannot give you the tools to do your job, then…

Just a note that if your Manager allows you to have a network drive location, you can occasionally get network glitches that may look like test failures (with messages about objects being null) but then will continue on again like nothing happened.

If you are given the external drive, you may be prevented from starting KS (because of the USB connection) if the Security people change their rules (or from updates). You will have to remind them about your external drive and have them fix their rule for you.

Edit: I don’t have the option but perhaps even a “cloud” install. ???

Hi everyone,

The issue of loading unpacked extensions on Spy, Record, Smart Wait features is currently resolved by Katalon Compact Utility.
Please find its information here: https://docs.katalon.com/katalon-studio/docs/katalon-compact-utility.html#configuring-and-using-katalon-compact-utility-with-chrome-profile.

Thank you all for your concerns,
Nam Nguyen.

sorry this utility cannot be found on the chrome web store

Hi @teststadp,

We’re facing an issue relevant to Chrome Web Store,
And the issue is estimated to be solved next week.
We will keep you updated when the extension is available.

We’re so sorry for the inconvenience.

Regards,
Nam Nguyen.

Any information on why the Katalon Compact Utility or Katalon Record Utility are not showing up in Chrome Store ?

Another similar issue is., if we use Katalon Record utility and record using chrome profile ., the ‘loading of unpacked…’ error keeps popping up during execution/runtime too and there is no option to execute/run the test using “Chrome with profile” (like how it appears during recording in Web Recorder dropdown)
Why are we seeing this popup again during runtime/execution time and how to prevent it?

Hi everyone,

The Katalon Compact Utility is back with the same link as the previous one: Katalon Compact Utility - Chrome Web Store.

Regards,
Nam Nguyen.

hello, I had the same issue and after lot of troubleshooting it is still the same. I have downloaded the Katalon 8.3.5 and have this KCU utility also installed for Ms Edge (we re using Edge) but I cannot add a new capability under the desired capabilities for Web UI. When I follow the procedures provided there, I am not able to add a capability with the type Dictionary and named as ms:edgeOptions. The Katalon throws an array out of bound error. Below is the error log I got from log section. If this continues then we will not be able to utilize the tool. Please help in order for us to move forward.

Katalon Studion ver - 8.5.5
Edge - 120.0.2210.77 (Official build) (64-bit)
KCU is installed with a profile in Edge.

ENTRY org.eclipse.ui 4 0 2023-12-20 10:52:39.193
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.ArrayIndexOutOfBoundsException: -1
at com.kms.katalon.composer.execution.components.DriverPropertyTypeEditingSupport.setValue(DriverPropertyTypeEditingSupport.java:47)
at org.eclipse.jface.viewers.EditingSupport.saveCellEditorValue(EditingSupport.java:116)
at org.eclipse.jface.viewers.ColumnViewerEditor.saveEditorValue(ColumnViewerEditor.java:446)
at org.eclipse.jface.viewers.ColumnViewerEditor.applyEditorValue(ColumnViewerEditor.java:312)
at org.eclipse.jface.viewers.ColumnViewerEditor$2.focusLost(ColumnViewerEditor.java:225)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:147)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4213)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1037)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1046)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:760)
at org.eclipse.swt.custom.CCombo.handleFocus(CCombo.java:986)
at org.eclipse.swt.custom.CCombo.lambda$2(CCombo.java:152)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1248)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1036)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1042)
at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:2941)
at org.eclipse.swt.widgets.Widget.wmSetFocus(Widget.java:2216)
at org.eclipse.swt.widgets.Control.WM_SETFOCUS(Control.java:5421)
at org.eclipse.swt.widgets.Table.WM_SETFOCUS(Table.java:6153)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4812)
at org.eclipse.swt.widgets.Table.windowProc(Table.java:5838)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4923)
at org.eclipse.swt.internal.win32.OS.SetFocus(Native Method)
at org.eclipse.swt.widgets.Table.sendMouseDownEvent(Table.java:3761)
at org.eclipse.swt.widgets.Table.WM_LBUTTONDOWN(Table.java:6061)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4776)
at org.eclipse.swt.widgets.Table.windowProc(Table.java:5838)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4931)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(Native Method)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3628)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:823)
at org.eclipse.jface.window.Window.open(Window.java:799)
at com.kms.katalon.composer.project.handlers.SettingHandler.openSettingsDialogToPage(SettingHandler.java:299)
at com.kms.katalon.composer.project.handlers.SettingHandler.execute(SettingHandler.java:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:319)
at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:253)
at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:173)
at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:156)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:488)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:487)
at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:438)
at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:449)
at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.lambda$2(AbstractContributionItem.java:475)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4213)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1037)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4030)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3630)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1158)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1047)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:658)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:557)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:154)
at com.kms.katalon.core.application.WorkbenchApplicationStarter.start(WorkbenchApplicationStarter.java:23)
at com.kms.katalon.application.Application.runGUI(Application.java:191)
at com.kms.katalon.application.Application.start(Application.java:102)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594)
at org.eclipse.equinox.launcher.Main.run(Main.java:1447)