rshf / chromedriver

Automatically exported from code.google.com/p/chromedriver
2 stars 1 forks source link

Loading of unpacked extensions is disabled by the administrator. #480

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Launch ChromeDriver

Simplified test case or site demonstrating the problem:

Launch chromedriver using Java bindings to run automated tests.

What version of the product are you using? On what operating system?
ChromeDriver = Version 2.2 (uploaded date Aug 6, 2013)
Chrome = Version 29
OS = Windows 7

Please attach chromedriver.log to your bug report if possible.

Error recieved:

"Could not load extension from 
'C:\Users\n0204972\AppData\Local\Temp\scoped_dir7208_5691\internal'. Loading of 
unpacked extensions is disabled by the administrator."

Before we were using a chromedriver with the following properties:

Uploaded = Tuesday, ‎March ‎19, ‎2013

Reporting when started:

Started ChromeDriver
port=9179
version=26.0.1383.0
log=C:\Users\n0204972\rtc3\eService\chromedriver.log

We then updated to the latest version:

Uploaded = Tuesday, ‎August ‎06, ‎2013

Reporting when started:

Starting ChromeDriver (v2.2) on port 35111

Afterwards we started seeing the error listed above. The group policy in our 
environment blocks non whitelisted extensions. What I'm wondering is what 
changed between versions, or what extensions is chromedriver now trying to 
access? The security team is requesting this information.

Original issue reported on code.google.com by DAKlimas...@gmail.com on 26 Aug 2013 at 2:36

GoogleCodeExporter commented 9 years ago
Thanks for the report. ChromeDriver2 is attempting to install its custom 
extension, which is used for some aspects of browser automation. You need to 
whitelist our extension, ID aapnijgdinlhnhlmodcfapnahmbfebeb. Let us know if 
this doesn't work for you.

Original comment by kkania@chromium.org on 26 Aug 2013 at 5:01

GoogleCodeExporter commented 9 years ago
I think this will work however to get this done I've been asked to provide some 
more information:

"Also, I’ll need a download link for the extension and a link to the 
license." 

This was requested by my security team, is this something you can provide, or 
tell me how I can find?

I appreciate the help.

Original comment by DAKlimas...@gmail.com on 26 Aug 2013 at 6:52

GoogleCodeExporter commented 9 years ago
It's not an extension from the web store, but here's a link to the code and 
license:

http://src.chromium.org/viewvc/chrome/trunk/src/chrome/test/chromedriver/extensi
on/
http://src.chromium.org/viewvc/chrome/trunk/src/LICENSE?revision=174795

Also, I'm curious, can you try passing --disable-extensions via ChromeOptions? 
I wonder if that will work around the issue.

Original comment by kkania@chromium.org on 26 Aug 2013 at 10:47

GoogleCodeExporter commented 9 years ago
I will give that a shot, and thank you again for the infomation. My question 
would be does not having the extension take any power away from us? If the only 
thing we can't do is interact with any extensions that would be OK, but I don't 
want to cause any issues you know what I mean?

Original comment by DAKlimas...@gmail.com on 27 Aug 2013 at 12:02

GoogleCodeExporter commented 9 years ago
Using --disable-extensions will invoke a different code path that might work 
for you, but it wouldn't be our final solution for you. Go ahead and give it a 
try and see if works and let us know.

Original comment by kkania@chromium.org on 27 Aug 2013 at 3:32

GoogleCodeExporter commented 9 years ago
ok great, it's currently working as a temp while the extension gets white 
listed. Thanks!

Original comment by DAKlimas...@gmail.com on 27 Aug 2013 at 10:38

GoogleCodeExporter commented 9 years ago
Alright great. I'm going to go ahead and mark this issue resolved. Please 
respond or create a new bug if you continue to have issues.

Original comment by kka...@google.com on 28 Aug 2013 at 12:12

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
So we white-listed your ID after a lengthy approval process, and I'm still 
getting the same error. We have '*' blacklisted which automatically turns off 
loading unpacked extensions, could this have anything to do with it?

Original comment by DAKlimas...@gmail.com on 9 Oct 2013 at 11:49

GoogleCodeExporter commented 9 years ago
can you please provide the download location of crx file to be added as 
extension. The above location is the complete source code of the extension. But 
to add to the whitelist we need a crx file to be added.

Original comment by sirisha....@gmail.com on 15 Oct 2013 at 3:00

GoogleCodeExporter commented 9 years ago
see

Original comment by kkania@chromium.org on 3 Dec 2013 at 9:04

GoogleCodeExporter commented 9 years ago
Can any one please help me in resolving the same issue which I am getting while 
trying to execute a Code UI test 
"Loading of unpacked extensions is disabled by the administrator"

after I click 'ok' the execution start.
I am not able to understand this issue.
Also if anyone can suggest some steps to remove this in a simple manner...Many 
Thanks

Original comment by mkb...@gmail.com on 3 Jun 2014 at 3:33

GoogleCodeExporter commented 9 years ago
Can any one please help me in resolving the same issue which I am getting while 
trying to execute a Code UI test 
"Loading of unpacked extensions is disabled by the administrator"

after I click 'ok' the execution start.
I am not able to understand this issue.
Also if anyone can suggest some steps to remove this in a simple manner...Many 
Thanks

Original comment by mkb...@gmail.com on 3 Jun 2014 at 3:35

Attachments: