I am trying to run NewRelic synthetic script in javascript locally in Visual Studio Code. While installing Selenium Webdriver using Nuget Package manager I am getting below error.
The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
Another way I tried was using below command to add it.
PS C:\Users\**> npm install selenium-webdriver
npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that
the path is correct and try again.
At line:1 char:1
+ npm install selenium-webdriver
+ ~~~
+ CategoryInfo : ObjectNotFound: (npm:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
How can I run my NewRelic synthetic script locally?