If the browser version is updated on the server, we need to install the corresponding browser driver. The steps are outlined below
Stop the backend service , open the cmd command and run
pm2 delete all
Go to respective browser version and note down the version , version can be viewed under Help >About section
Go to npm library for specific browser and note down the browser driver version from given below link
Go to the QAautoMATER_Service folder , under this folder you can find package.json , open and update chromedriver version
Open new cmd window and navigate to QAautoMATER_Service folder
execute the command "npm install" from cmd
Now Run the backed service using command
pm2 start server.js
Last updated 1 year ago