Issue with Initializing library 'Browser' with no arguments failed


I have already performed the following:

  1. Install node.js e.g. from Download | Node.js
  2. Update pip pip install -U pip to ensure latest version is used
  3. Install robotframework-browser from the commandline: pip install robotframework-browser
  4. Install the node dependencies: run rfbrowser init in your shell

I have followed the installation above of the browser lib. Get the next Error:

[ ERROR ] Error in file ‘C:**\tests*\Test*\Sprint\PLAYGROUND\PLAYGROUND.robot’ on line 2: Initializing library ‘Browser’ with no arguments failed: Couldn’t execute node. Please ensure you have node.js installed and in PATH. See for instructions. Original error is [WinError 2] Het systeem kan het opgegeven bestand niet vinden
Traceback (most recent call last):
File “C:\Users*\AppData\Local\Programs\Python\Python39\lib\site-packages\Browser\", line 718, in init
self.playwright = Playwright(
File "C:\Users*
\AppData\Local\Programs\Python\Python39\lib\site-packages\Browser\”, line 50, in init
File “C:\Users**\AppData\Local\Programs\Python\Python39\lib\site-packages\Browser\”, line 65, in ensure_node_dependencies
raise RuntimeError(

Is there something I missed when installing?

As the error says, library can not find your NodeJs installation from the %PATH%. If you run node --version from command line you should also see an error.

I have already checked this, see below the vers. and the location.

Got it resolved. The PATH was not correct in the environment variables.

1 Like