# Error occured running rfbrowser.init

**URL:** <https://forum.robotframework.org/t/error-occured-running-rfbrowser-init/5004>\
**Category:** Browser\
**Created:** [30 November 2022 13:07 UTC](https://forum.robotframework.org/t/error-occured-running-rfbrowser-init/5004 "2022-11-30T13:07:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maarten](https://avatars.discourse-cdn.com/v4/letter/m/ecccb3/32.png) [@Maarten](https://forum.robotframework.org/u/Maarten)\
**Post date:** [30 November 2022 13:07 UTC](https://forum.robotframework.org/t/error-occured-running-rfbrowser-init/5004/1 "2022-11-30T13:07:12Z")

</div>

C:\WINDOWS\system32\>pip install robotframework-browser  
Collecting robotframework-browser Downloading robotframework\_browser-14.2.1-py3-none-any.whl (253 kB) ---------------------------------------- 253.6/253.6 kB 1.7 MB/s eta 0:00:00  
Requirement already satisfied: backports.cached-property\>=1.0.2 in c:\python\lib\site-packages (from robotframework-browser) (1.0.2)  
Requirement already satisfied: grpcio==1.50.0 in c:\python\lib\site-packages (from robotframework-browser) (1.50.0)  
Requirement already satisfied: grpcio-tools==1.50.0 in c:\python\lib\site-packages (from robotframework-browser) (1.50.0)  
Requirement already satisfied: protobuf==4.21.9 in c:\python\lib\site-packages (from robotframework-browser) (4.21.9)  
Requirement already satisfied: robotframework\>=4.1.3 in c:\python\lib\site-packages (from robotframework-browser) (6.0.1)  
Requirement already satisfied: robotframework-pythonlibcore\>=3.0.0 in c:\python\lib\site-packages (from robotframework-browser) (4.0.0)  
Requirement already satisfied: robotframework-assertion-engine\>=0.6.0 in c:\python\lib\site-packages (from robotframework-browser) (0.6.1)  
Requirement already satisfied: typing-extensions\>=4.4.0 in c:\python\lib\site-packages (from robotframework-browser) (4.4.0)  
Requirement already satisfied: wrapt\>=1.14.1 in c:\python\lib\site-packages (from robotframework-browser) (1.14.1)  
Requirement already satisfied: overrides\>=6.3.0 in c:\python\lib\site-packages (from robotframework-browser) (7.3.1)  
Requirement already satisfied: six\>=1.5.2 in c:\python\lib\site-packages (from grpcio==1.50.0-\>robotframework-browser) (1.16.0)  
Requirement already satisfied: setuptools in c:\python\lib\site-packages (from grpcio-tools==1.50.0-\>robotframework-browser) (65.6.3)  
Installing collected packages: robotframework-browser  
Successfully installed robotframework-browser-14.2.1

[notice] A new release of pip available: 22.3 → 22.3.1  
[notice] To update, run: python.exe -m pip install --upgrade pip

C:\WINDOWS\system32\>rfbrowser init2022-11-30 13:53:53,699 [INFO] ==============================================================================================================2022-11-30 13:53:53,701 [INFO] Installing node dependencies…2022-11-30 13:53:53,703 [INFO] Installing rfbrowser node dependencies at C:\Python\Lib\site-packages\Browser\wrapper2022-11-30 13:53:59,958 [INFO] npm ERR! code 1

2022-11-30 13:53:59,958 [INFO] npm ERR! path C:\Python\Lib\site-packages\Browser\wrapper\node\_modules\playwright

2022-11-30 13:53:59,958 [INFO] npm ERR! command failed

2022-11-30 13:53:59,958 [INFO] npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node install.js

2022-11-30 13:53:59,958 [INFO] npm ERR! Downloading Chromium 107.0.5304.18 (playwright build v1028)…

2022-11-30 13:53:59,958 [INFO] npm ERR! Downloading Chromium 107.0.5304.18 (playwright build v1028)…

2022-11-30 13:53:59,958 [INFO] npm ERR! Downloading Chromium 107.0.5304.18 (playwright build v1028)…

2022-11-30 13:53:59,958 [INFO] npm ERR! Error: self signed certificate in certificate chain

2022-11-30 13:53:59,958 [INFO] npm ERR! at TLSSocket.onConnectSecure (node:\_tls\_wrap:1530:34)

2022-11-30 13:53:59,958 [INFO] npm ERR! at TLSSocket.emit (node:events:526:28)

2022-11-30 13:53:59,958 [INFO] npm ERR! at TLSSocket.\_finishInit (node:\_tls\_wrap:944:8)

2022-11-30 13:53:59,972 [INFO] npm ERR! at TLSWrap.ssl.onhandshakedone (node:\_tls\_wrap:725:12) {

2022-11-30 13:53:59,972 [INFO] npm ERR! code: ‘SELF\_SIGNED\_CERT\_IN\_CHAIN’

2022-11-30 13:53:59,972 [INFO] npm ERR! }

2022-11-30 13:53:59,972 [INFO] npm ERR! Error: self signed certificate in certificate chain

2022-11-30 13:53:59,973 [INFO] npm ERR! at TLSSocket.onConnectSecure (node:\_tls\_wrap:1530:34)

2022-11-30 13:53:59,973 [INFO] npm ERR! at TLSSocket.emit (node:events:526:28)

2022-11-30 13:53:59,973 [INFO] npm ERR! at TLSSocket.\_finishInit (node:\_tls\_wrap:944:8)

2022-11-30 13:53:59,973 [INFO] npm ERR! at TLSWrap.ssl.onhandshakedone (node:\_tls\_wrap:725:12) {

2022-11-30 13:53:59,973 [INFO] npm ERR! code: ‘SELF\_SIGNED\_CERT\_IN\_CHAIN’

2022-11-30 13:53:59,974 [INFO] npm ERR! }

2022-11-30 13:53:59,974 [INFO] npm ERR! Error: self signed certificate in certificate chain

2022-11-30 13:53:59,975 [INFO] npm ERR! at TLSSocket.onConnectSecure (node:\_tls\_wrap:1530:34)

2022-11-30 13:53:59,975 [INFO] npm ERR! at TLSSocket.emit (node:events:526:28)

2022-11-30 13:53:59,976 [INFO] npm ERR! at TLSSocket.\_finishInit (node:\_tls\_wrap:944:8)

2022-11-30 13:53:59,976 [INFO] npm ERR! at TLSWrap.ssl.onhandshakedone (node:\_tls\_wrap:725:12) {

2022-11-30 13:53:59,977 [INFO] npm ERR! code: ‘SELF\_SIGNED\_CERT\_IN\_CHAIN’

2022-11-30 13:53:59,977 [INFO] npm ERR! }

2022-11-30 13:53:59,977 [INFO] npm ERR! C:\Python\Lib\site-packages\Browser\wrapper\node\_modules\playwright-core\lib\server\registry\index.js:709

2022-11-30 13:53:59,977 [INFO] npm ERR! throw new Error(`Failed to download ${title}, caused by\n${e.stack}`);

2022-11-30 13:53:59,977 [INFO] npm ERR! ^

2022-11-30 13:53:59,977 [INFO] npm ERR!

2022-11-30 13:53:59,977 [INFO] npm ERR! Error: Failed to download Chromium 107.0.5304.18 (playwright build v1028), caused by

2022-11-30 13:53:59,977 [INFO] npm ERR! Error: Download failure, code=1

2022-11-30 13:53:59,977 [INFO] npm ERR! at ChildProcess. (C:\Python\Lib\site-packages\Browser\wrapper\node\_modules\playwright-core\lib\server\registry\download.js:51:16)

2022-11-30 13:53:59,977 [INFO] npm ERR! at ChildProcess.emit (node:events:526:28)

2022-11-30 13:53:59,977 [INFO] npm ERR! at Process.ChildProcess.\_handle.onexit (node:internal/child\_process:291:12)

2022-11-30 13:53:59,977 [INFO] npm ERR! at C:\Python\Lib\site-packages\Browser\wrapper\node\_modules\playwright-core\lib\server\registry\index.js:709:13

2022-11-30 13:53:59,977 [INFO] npm ERR! at async Registry.\_downloadExecutable (C:\Python\Lib\site-packages\Browser\wrapper\node\_modules\playwright-core\lib\server\registry\index.js:708:5)

2022-11-30 13:53:59,977 [INFO] npm ERR! at async Registry.install (C:\Python\Lib\site-packages\Browser\wrapper\node\_modules\playwright-core\lib\server\registry\index.js:672:9)

2022-11-30 13:53:59,977 [INFO] npm ERR! at async installBrowsersForNpmInstall (C:\Python\Lib\site-packages\Browser\wrapper\node\_modules\playwright-core\lib\server\registry\index.js:876:3)

2022-11-30 13:53:59,977 [INFO]

2022-11-30 13:53:59,977 [INFO] npm ERR! A complete log of this run can be found in:

2022-11-30 13:53:59,977 [INFO] npm ERR! C:\Users\SB6435\AppData\Local\npm-cache\_logs\2022-11-30T12\_53\_55\_439Z-debug-0.log

2022-11-30 13:53:59,977 [INFO]2022-11-30 13:53:59,977 [INFO]2022-11-30 13:53:59,977 [INFO]2022-11-30 13:53:59,977 [INFO] ==============================================================================================================2022-11-30 13:53:59,977 [INFO] Traceback (most recent call last): File “C:\Python\Lib\site-packages\Browser\entry.py”, line 49, in rfbrowser\_init \_rfbrowser\_init(skip\_browser\_install) File “C:\Python\Lib\site-packages\Browser\entry.py”, line 159, in \_rfbrowser\_init raise RuntimeError(  
RuntimeError: Problem installing node dependencies.Node process returned with exit status 1

2022-11-30 13:53:59,977 [INFO] ==============================================================================================================2022-11-30 13:53:59,977 [INFO] Used Python is: C:\Python\python.exe  
Version: 3.11.02022-11-30 13:53:59,977 [INFO] ==============================================================================================================2022-11-30 13:53:59,977 [INFO] pip freeze output:

2022-11-30 13:54:00,489 [INFO] backports.cached-property==1.0.2  
grpcio==1.50.0  
grpcio-tools==1.50.0  
overrides==7.3.1  
protobuf==4.21.9  
robotframework==6.0.1  
robotframework-assertion-engine==0.6.1  
robotframework-browser==14.2.1  
robotframework-pythonlibcore==4.0.0  
six==1.16.0  
typing\_extensions==4.4.0  
wrapt==1.14.1

2022-11-30 13:54:00,491 [INFO] ==============================================================================================================2022-11-30 13:54:01,390 [INFO] npm version is:n2022-11-30 13:54:01,390 [INFO] 8.5.0  
2022-11-30 13:54:01,390 [INFO] ==============================================================================================================2022-11-30 13:54:01,390 [INFO] Installation directory `C:\Python\Lib\site-packages\Browser\wrapper` does not contain the required file

[13:56] VAN GOOL Maarten (ENGIE Energie Nederland NV)  
Printing contents:

2022-11-30 13:54:01,390 [INFO] wrapper/

2022-11-30 13:54:01,390 [INFO] index.js

2022-11-30 13:54:01,390 [INFO] package-lock.json

2022-11-30 13:54:01,390 [INFO] package.json

2022-11-30 13:54:01,390 [INFO] static/

2022-11-30 13:54:01,390 [INFO] selector-finder.js

2022-11-30 13:54:01,390 [INFO] ==============================================================================================================  
Traceback (most recent call last): File “”, line 198, in \_run\_module\_as\_main File “”, line 88, in _run\_code File "C:\Python\Scripts\rfbrowser.exe\_main_.py", line 7, in File “C:\Python\Lib\site-packages\Browser\entry.py”, line 260, in main runner(command, skip\_browsers, trace\_file) File “C:\Python\Lib\site-packages\Browser\entry.py”, line 205, in runner rfbrowser\_init(skip\_browsers) File “C:\Python\Lib\site-packages\Browser\entry.py”, line 57, in rfbrowser\_init raise error File “C:\Python\Lib\site-packages\Browser\entry.py”, line 49, in rfbrowser\_init \_rfbrowser\_init(skip\_browser\_install) File “C:\Python\Lib\site-packages\Browser\entry.py”, line 159, in \_rfbrowser\_init raise RuntimeError(  
RuntimeError: Problem installing node dependencies.Node process returned with exit status 1
