New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrome whitelist disables loading of local extensions #354
Comments
@GERDebeka Is my understanding correct ? These popups don't actually prevent you from using the recording/spying, but nonetheless pop up every time ? |
@minhthanh3145 |
@GERDebeka Ah I understand, the reason is that the extension for Firefox is packed and signed, while for Chrome it's loaded from a folder (unpacked). We will consider doing the same as Firefox for Chrome. Thank you for your report ! |
@minhthanh3145 are you with the Katalon development team and if so, when could this fix be available? Thanks for your help. |
I checked the version 7.6.4 but sadly the error remains with an small change.
In the meantime our environment changed, so the solution needs to fit for:
|
@GERDebeka |
I repeat my comment, cause github don't let me edit my privious one: I checked the version 7.6.4 but sadly the error remains with a small change.
In the meantime our environment changed, so the solution needs to fit for:
We are waiting with high hopes for that solution. |
@GERDebeka The path of the extension doesn't look right, the extension is supposed to be loaded from within Katalon Studio folder. Can you try to move Katalon Studio to another folder, re-activate it and delete |
@minhthanh3145 |
@GERDebeka I'll try to reproduce the problem on my side. Thank you for your report ! |
My organization is experiencing similar problem with unpacked extension with naming convention: C:\Users\xxx\AppData\Local\Temp\scoped_dirnnnnn_nnnnnnn\extension_abcdefg.... Loading of unpacked extensions is disabled by the administrator. In our secure Chrome configuration, we have blacklisted "" (all) and many items in Whitelist, including the initial Katalon Chrome extension. However, we cannot whitelist the new extension created by the recorded in unpacked form. If we remove the blacklist "" entry (or change it to "dummy", either way rendering the whitelist unnecessary), the error is avoided and the recorder (and playback) works correctly. We only recently purchased this software and now can get no value from it. When is a new release correcting this issue expected to be available? |
Hello @martyhammer We fixed this issue in version 7.6.4 which is available here. We're sorry for not updating this ticket earlier. �Please upgrade and see if the issue still persists. Jass |
Our company doesn't have this version available, please suggest the solution for "Failed to Load Extension" issue in 7.6.2 version . |
Is there a way to add code to the script so that it will bypass/ignore/accept the popup thus avoiding the manual intervention of clicking Ok? |
This issue is still not resolved even with version 7.7.1. You are failing
to understand my point. In this environment, Chrome whitelist/blacklist is
enforced. Are there any corresponding whitelist codes to get past the
errors shows in these two messages we receive? We are trying to record
simple test script with a CHROME browser. (Works fine with Firefox.)
[image: image.png]
[image: image.png]
Martin L. Hammer, PMP® | GEO Client Engineering Manager
GEO Contract | SAIC Team | SAIC
Supporting GSA IT
Desk/Mobile: 703-676-4609
Email: martin.hammer@gsa.gov
…On Tue, Sep 15, 2020 at 10:31 PM Padoplin ***@***.***> wrote:
Hello @martyhammer <https://github.com/martyhammer>
We fixed this issue in version 7.6.4. We're sorry for not updating this
ticket earlier. �You're recommended to upgrade to the latest version, 7.7,
which we officially released yesterday.
Jass
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#354 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARAG7WNPIGJFLXXSZWREEVDSGAPPHANCNFSM4OLJFFAQ>
.
|
ok we had at least a partial breakthrough with the problem. We added the ID of the extension "internal". The ID is: "nhjadcbdhpaglfenolfcepmoeifeaijd". Whats left is the function of "WebSpy" and "WebRecorder" which open the popup-dialog "KR". But I personally also see it slowly like @martyhammer . We lose a lot of time here. |
@GERDebeka @martyhammer The workaround here is:
|
@duyluonganh We had the extension "Katalon Recorder (Selenium tests generator)" (ID: "ljdobmomdgdljniojadhoplhkpialdid") on Chrome already installed and on the whitelist enabled. After selecting your shown Button there happended nothing. No Message, PopUp or any visible reaction at all nether for WebSpy or WebRecorder. * I watched an example on Youtube to confirm that this behavior is wrong: If there is an other workaround please share it with us.
|
Hi @GERDebeka
We think that his behavior was correct although his Katalon Studio version is quite old. We also record another video here: https://www.youtube.com/watch?v=hqkgkqe623w&feature=youtu.be. |
Hallo @duyluonganh thanks for posting an video how should look now, but your visible OS was macOS right? I attached an clip of our environment (Windows 10, Chrome and Firefox for KSE 7.4.0) and how the workaround for WebRecorder with the Katalon Recorder plugin (on the browsers) only fails on chrome (sorry for the low quality, but github doesn't allow .mp4-files and limited filesize to 10MB). I tested it with WebSpy on this configuration too; firefox works, chrome not. An interested colleague of me tried it at home on his private windows 10 machine with KS (and no black-/whitelist on the registry for chrome); Execution, WebSpy and WebRecorder worked fine! For now i am 99% sure that the missing peace to solve this are the IDs from the chrome Extensions. it was possible for you to send us "nhjadcbdhpaglfenolfcepmoeifeaijd"; the ID for the extension: Or even better: publish all 4 extensions on the official chrome store (next to the already existing "Katalon Recorder"; ID "ljdobmomdgdljniojadhoplhkpialdid"). That would help us for some legal regulations too! |
Over two months passed since my last comment. Any progress so far? |
Using Katalon 7.6.5 and still having this problem.
Please create a packed, signed smart wait extension for Chrome so that Katalon can be used with Chrome in controlled environments. FYI, our environment is a US Federal Government Department. I am sure that other Federal agencies use similar policies. So, this basically impacts the entire Federal Government - a pretty big footprint! Update: Doesn't work with 7.8.2, either. |
I've just installed the latest version Katalon 7.9.0 and I'm running a Trial of the Enterprise edition. It occurred to me that we could determine the "id" of the plugin by checking it on a machine that doesn't have the restriction on loading unpacked extensions. That approach appeared to work and yielded the extension number for the "smart wait" chrome://extensions/?id=loghpdeifonmghkjdanipmhkfjnkhjal caveat - that extension came from Chrome v88, but I'm using v87 at the employer site so they could be different, but I'm guessing probably not. Anyone configured to test my approach? PS: used following URL to figure out how to get the extension. |
Initial try results in no joy. Next? |
@jridge After an webmeeting with the katalon support they informed us about an "All-In-One"-Extension they want to upload in the official chrome store. if anyone else has a good idea, we would still be interested in trying it out. |
You are all missing the point regarding trying to "whitelist" the
extension. THERE IS NO WAY TO WHITELIST UNPACKED EXTENSIONS. You cannot
use unpacked extensions if you are utilizing White/Blacklisting for the
packed extensions.
Martin L. Hammer, PMP® | GEO Client Engineering Manager
GEO Contract | SAIC Team | SAIC
Supporting GSA IT
Desk/Mobile: 703-676-4609
Email: martin.hammer@gsa.gov
…On Mon, Feb 22, 2021 at 10:03 AM GERDebeka ***@***.***> wrote:
@jridge <https://github.com/jridge>
nice idea, but unfortunately it did not work.
We added the ID "loghpdeifonmghkjdanipmhkfjnkhjal" to our registry. We
also made sure that smart wait was enabled.
Result: The dialog still pops up. For test execution, web spy and web
recorder.
[image: regedit]
<https://user-images.githubusercontent.com/67589491/108725738-f8e69480-7526-11eb-8102-c347953b0763.png>
[image: smartWaitEnabled]
<https://user-images.githubusercontent.com/67589491/108725751-fd12b200-7526-11eb-8912-032e5df1aae6.png>
After an webmeeting with the katalon support they informed us about an
"All-In-One"-Extension they want to upload in the official chrome store.
For now we are waiting for that.
if anyone else has a good idea, we would still be interested in trying it
out.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#354 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARAG7WIM2U5HVLWASLUIU5TTAJW3NANCNFSM4OLJFFAQ>
.
|
Marty, Yes, that is correct. Until Katalon publishes their extensions in the Chrome App Store, Chrome cannot be used with Katalon on machines which have a managed extension whitelist - which includes, I suspect, all Federal machines and many machines owned by larger corporations. This is a huge miss for Katalon. Please see my issue, Please Add Chrome Object Spy, Recorder, and Smart Wait Extensions to Google Web Store So That They Can Be Whitelisted, requesting Katalon to take the necessary action. At present, the issue appears to be stalled, and there does not appear to be a way to up-vote an issue, but at least it's out there! Best, Christopher C. Shubert |
Hi All, In version 8.0.5 (download here, Katalon Studion introduced an option to Record Web with a packed extension, now available on the Chrome Web Store. See Record Web Utility using Chrome with Profile for the user guide. For the rest extensions, we're working on them so pls stay tuned. Also, pls have a look at our Release note for further details. Regards, |
How do i get this download file and use it to install on a windows machine on a closed network, i need the actual executable file because my other machine does not have access to the internet |
Hi everyone, All the utilities are bundled into Katalon Compact Utility. Thank you all for your concerns, |
Thanks, @Nam-Nguyen-Tran! I have requested that our IT department approve this extension. This will address a longstanding and bothersome situation for us. I'm looking forward to trying it! |
Operating System: Windows 7, Windows 10
Katalon Studio Version: 7.4.0 (primarily) and 6.1.1
Google Chrome Version: 83.0.4103.116
ChromeDriver Version: 83.0.4103.39
Running a Test Case creates a dialog with the message (translated) "Error while loading the extension from: [user path]\AppData\Local\Temp\scoped_dir12345_0123456789\internal. Loading of unpacked extensions is disabled by the administrator."
This dialog pops up every time a browser window opens and must be closed manually to continue.
Same goes for the smart wait extension ( [installation path]\configuration\resources\extensions\Chrome\Smart wait) and Object Spy ( [installation path]\configuration\resources\extensions\Chrome\Object Spy\KR ) but the Object Spy cant detect / record any elements on a page, too.
Our company uses a policy (whitelist) for security reasons. That explain the message on every dialog.
Neither does the software offer a possibility to use only extensions from the company's default profile (Chrome) nor are all the named extensions on the official chrome web store.
How is it possible to execute tests / record elements from websites in Chrome with enabled whitelist?
Can the missing extensions be put on the chrome web store?
Or can Katalon Studio be configured to run without the internal extension? (because it runs fine after clicking the dialog)
The text was updated successfully, but these errors were encountered: