# Maintain the browser version

If the browser version is updated on the server, we need to install the corresponding browser driver. The steps are outlined below

### Step by Step guideline

1. Stop the backend service , open the cmd command and run

```
   pm2 delete all
```

2. Go to respective browser version and note down the version , version can be viewed under Help >About section

<figure><img src="https://423756580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqEc3xHBB1F9T2KOd6mX7%2Fuploads%2FHzRKkUMC8uU71wd651tk%2Fimage.png?alt=media&#x26;token=a8fe2c14-144e-4104-92e0-7e8432f58af7" alt=""><figcaption></figcaption></figure>

3. Go to npm library for specific browser and note down the browser driver version from given below link

{% embed url="<https://www.npmjs.com/package/chromedriver?activeTab=versions>" %}

<figure><img src="https://423756580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqEc3xHBB1F9T2KOd6mX7%2Fuploads%2F6VlBMZEsk5zTVondUL4v%2Fimage.png?alt=media&#x26;token=d182f765-adb6-432c-96ed-95eb15a95ff7" alt=""><figcaption></figcaption></figure>

4. Go to the QAautoMATER\_Service folder , under this folder you can find package.json , open and update chromedriver version

<figure><img src="https://423756580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqEc3xHBB1F9T2KOd6mX7%2Fuploads%2FzJMyhl0chLXoI4X1gsMj%2Fimage.png?alt=media&#x26;token=b464f271-50e9-4ce5-8592-cc125ede2b27" alt=""><figcaption></figcaption></figure>

##

5. Open new cmd window and navigate to QAautoMATER\_Service folder

<figure><img src="https://423756580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqEc3xHBB1F9T2KOd6mX7%2Fuploads%2FEdoPb6tr6igVnudEJEkP%2Fimage.png?alt=media&#x26;token=c16f11ef-1264-4ff5-82bf-12f088001c0d" alt=""><figcaption></figcaption></figure>

6. execute the command "**npm install**" from cmd

<figure><img src="https://423756580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqEc3xHBB1F9T2KOd6mX7%2Fuploads%2Fth24yc0Hd69KT7IWJiiL%2Fimage.png?alt=media&#x26;token=fb3c3465-6986-41ff-86b3-b3459a906305" alt=""><figcaption></figcaption></figure>

4. Now Run the backed service using command&#x20;

&#x20;    pm2 start server.js

&#x20;  &#x20;

<figure><img src="https://423756580-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqEc3xHBB1F9T2KOd6mX7%2Fuploads%2F4BP2X72dSMUNgUFMji1A%2Fimage.png?alt=media&#x26;token=32c54ca6-5ef8-4e92-be45-987009ddccbf" alt=""><figcaption></figcaption></figure>

###


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://qabunch.gitbook.io/qaautomater/on-premises-hosting/maintain-the-browser-version.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
