Failed to load chrome extension error


#1

Hi how to fix the failed to load extensions error for the chrome driver. I get the below error ( stake trace;.com.kms.katalon.core,exception.StepFailedException:
Unable to open browser with Url:( Root cause org,openqa.selenium.WebDriverException:unknown error: unable to discover open window in chrome
I have the chrome driver also in the Katalon package and I don’t know how to fix this. kindly help


#2

Hi @saikrupa_s

What were you doing when you encountered this error ? Please provide us with more information about steps to reproduce and log file.

Regards !


#3

Hi Thang, I figured out that the error occurs as I no access to a temp folder where the driver is installed and the katalon is facing the error due to loading of the unpacked extensions. Many thanks, I will reach to you when I have any issues further.

But I have one question for you.
How to save the passwords as encrypted when creating the common test cases so that they can be run in multiple environments with different credentials and profiles. So when creating the profiles, how to store the password in katalon as encrypted. can you please help.


#4

Hi Than,
whenever I run the test cases in Katalon using the chrome browser, I get an error modal window telling that
Failed to load extension from:
c:\user\Rsaikru\Appdata\Local\Temp\scoped_dir14324_23319\internal. Loading of unpacked extensions is disabled by the administrator.
when I hit the ok button of the modal, the katalon runs in the chrome browser but the test case failes and I get the below error in the logs.
When I spoke with my IT folks, they say, the above mentioned folder in the error modal, does even exists in the Temp folder. So I don’t know how to fix this issue.

//02-12-2019 09:00:18 AM - [FAILED] - Test Cases/Clients/TIB/TIB_CS/Dashboard_Banks_Leads_Documents/TC_Dashboard_Banks_Leads_Documents_TIB FAILED because (of) (Stack trace: com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: ‘’ (Root cause: org.openqa.selenium.WebDriverException: unknown error: unable to discover open pages
(Driver info: chromedriver=2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a),platform=Windows NT 6.1.7601 SP1 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 61.16 seconds

image
Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’
System info: host: ‘ASIWS181’, ip: ', os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.8.0_181’
Driver info: driver.version: CChromeDriver)
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36

please help.


#5

Hi @ThanhTo I am also facing the same issue. Please refer the below steps to reproduce the issue,

  1. Click the Chrome Browser icon from the “Run” drop down to execute the script in Chrome browser
  2. while starting the ‘Chrome Driver’ and initiating the ‘User set preference’, the system throws the above error message .

Kindly provide your advise to resolve the issue.


#6

Hi I am geting the same issu.

Is there any news about this problem.